Represents a {@link https://registry.terraform.io/providers/integrations/github/6.11.1/docs/data-sources/codespaces_public_key github_codespaces_public_key}.
import "github.com/cdktn-io/cdktn-provider-github-go/github/v16/datagithubcodespacespublickey"
datagithubcodespacespublickey.NewDataGithubCodespacesPublicKey(scope Construct, id *string, config DataGithubCodespacesPublicKeyConfig) DataGithubCodespacesPublicKey| Name | Type | Description |
|---|---|---|
scope |
github.com/aws/constructs-go/constructs/v10.Construct |
The scope in which to define this construct. |
id |
*string |
The scoped construct ID. |
config |
DataGithubCodespacesPublicKeyConfig |
No description. |
- Type: github.com/aws/constructs-go/constructs/v10.Construct
The scope in which to define this construct.
- Type: *string
The scoped construct ID.
Must be unique amongst siblings in the same scope
| Name | Description |
|---|---|
ToString |
Returns a string representation of this construct. |
With |
Applies one or more mixins to this construct. |
AddOverride |
No description. |
OverrideLogicalId |
Overrides the auto-generated logical ID with a specific ID. |
ResetOverrideLogicalId |
Resets a previously passed logical Id to use the auto-generated logical id again. |
ToHclTerraform |
Adds this resource to the terraform JSON output. |
ToMetadata |
No description. |
ToTerraform |
Adds this resource to the terraform JSON output. |
GetAnyMapAttribute |
No description. |
GetBooleanAttribute |
No description. |
GetBooleanMapAttribute |
No description. |
GetListAttribute |
No description. |
GetNumberAttribute |
No description. |
GetNumberListAttribute |
No description. |
GetNumberMapAttribute |
No description. |
GetStringAttribute |
No description. |
GetStringMapAttribute |
No description. |
InterpolationForAttribute |
No description. |
ResetId |
No description. |
func ToString() *stringReturns a string representation of this construct.
func With(mixins ...IMixin) IConstructApplies one or more mixins to this construct.
Mixins are applied in order. The list of constructs is captured at the
start of the call, so constructs added by a mixin will not be visited.
Use multiple with() calls if subsequent mixins should apply to added
constructs.
- Type: ...github.com/aws/constructs-go/constructs/v10.IMixin
The mixins to apply.
func AddOverride(path *string, value interface{})- Type: *string
- Type: interface{}
func OverrideLogicalId(newLogicalId *string)Overrides the auto-generated logical ID with a specific ID.
- Type: *string
The new logical ID to use for this stack element.
func ResetOverrideLogicalId()Resets a previously passed logical Id to use the auto-generated logical id again.
func ToHclTerraform() interface{}Adds this resource to the terraform JSON output.
func ToMetadata() interface{}func ToTerraform() interface{}Adds this resource to the terraform JSON output.
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}- Type: *string
func GetBooleanAttribute(terraformAttribute *string) IResolvable- Type: *string
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool- Type: *string
func GetListAttribute(terraformAttribute *string) *[]*string- Type: *string
func GetNumberAttribute(terraformAttribute *string) *f64- Type: *string
func GetNumberListAttribute(terraformAttribute *string) *[]*f64- Type: *string
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64- Type: *string
func GetStringAttribute(terraformAttribute *string) *string- Type: *string
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string- Type: *string
func InterpolationForAttribute(terraformAttribute *string) IResolvable- Type: *string
func ResetId()| Name | Description |
|---|---|
IsConstruct |
Checks if x is a construct. |
IsTerraformElement |
No description. |
IsTerraformDataSource |
No description. |
GenerateConfigForImport |
Generates CDKTN code for importing a DataGithubCodespacesPublicKey resource upon running "cdktn plan ". |
import "github.com/cdktn-io/cdktn-provider-github-go/github/v16/datagithubcodespacespublickey"
datagithubcodespacespublickey.DataGithubCodespacesPublicKey_IsConstruct(x interface{}) *boolChecks if x is a construct.
Use this method instead of instanceof to properly detect Construct
instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the constructs library on
disk are seen as independent, completely different libraries. As a
consequence, the class Construct in each copy of the constructs library
is seen as a different class, and an instance of one class will not test as
instanceof the other class. npm install will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the constructs
library can be accidentally installed, and instanceof will behave
unpredictably. It is safest to avoid using instanceof, and using
this type-testing method instead.
- Type: interface{}
Any object.
import "github.com/cdktn-io/cdktn-provider-github-go/github/v16/datagithubcodespacespublickey"
datagithubcodespacespublickey.DataGithubCodespacesPublicKey_IsTerraformElement(x interface{}) *bool- Type: interface{}
import "github.com/cdktn-io/cdktn-provider-github-go/github/v16/datagithubcodespacespublickey"
datagithubcodespacespublickey.DataGithubCodespacesPublicKey_IsTerraformDataSource(x interface{}) *bool- Type: interface{}
import "github.com/cdktn-io/cdktn-provider-github-go/github/v16/datagithubcodespacespublickey"
datagithubcodespacespublickey.DataGithubCodespacesPublicKey_GenerateConfigForImport(scope Construct, importToId *string, importFromId *string, provider TerraformProvider) ImportableResourceGenerates CDKTN code for importing a DataGithubCodespacesPublicKey resource upon running "cdktn plan ".
- Type: github.com/aws/constructs-go/constructs/v10.Construct
The scope in which to define this construct.
- Type: *string
The construct id used in the generated config for the DataGithubCodespacesPublicKey to import.
- Type: *string
The id of the existing DataGithubCodespacesPublicKey that should be imported.
Refer to the {@link https://registry.terraform.io/providers/integrations/github/6.11.1/docs/data-sources/codespaces_public_key#import import section} in the documentation of this resource for the id to use
- Type: github.com/open-constructs/cdk-terrain-go/cdktn.TerraformProvider
? Optional instance of the provider where the DataGithubCodespacesPublicKey to import is found.
| Name | Type | Description |
|---|---|---|
Node |
github.com/aws/constructs-go/constructs/v10.Node |
The tree node. |
CdktfStack |
github.com/open-constructs/cdk-terrain-go/cdktn.TerraformStack |
No description. |
Fqn |
*string |
No description. |
FriendlyUniqueId |
*string |
No description. |
TerraformMetaArguments |
*map[string]interface{} |
No description. |
TerraformResourceType |
*string |
No description. |
TerraformGeneratorMetadata |
github.com/open-constructs/cdk-terrain-go/cdktn.TerraformProviderGeneratorMetadata |
No description. |
Count |
interface{} |
No description. |
DependsOn |
*[]*string |
No description. |
ForEach |
github.com/open-constructs/cdk-terrain-go/cdktn.ITerraformIterator |
No description. |
Lifecycle |
github.com/open-constructs/cdk-terrain-go/cdktn.TerraformResourceLifecycle |
No description. |
Provider |
github.com/open-constructs/cdk-terrain-go/cdktn.TerraformProvider |
No description. |
Key |
*string |
No description. |
KeyId |
*string |
No description. |
IdInput |
*string |
No description. |
RepositoryInput |
*string |
No description. |
Id |
*string |
No description. |
Repository |
*string |
No description. |
func Node() Node- Type: github.com/aws/constructs-go/constructs/v10.Node
The tree node.
func CdktfStack() TerraformStack- Type: github.com/open-constructs/cdk-terrain-go/cdktn.TerraformStack
func Fqn() *string- Type: *string
func FriendlyUniqueId() *string- Type: *string
func TerraformMetaArguments() *map[string]interface{}- Type: *map[string]interface{}
func TerraformResourceType() *string- Type: *string
func TerraformGeneratorMetadata() TerraformProviderGeneratorMetadata- Type: github.com/open-constructs/cdk-terrain-go/cdktn.TerraformProviderGeneratorMetadata
func Count() interface{}- Type: interface{}
func DependsOn() *[]*string- Type: *[]*string
func ForEach() ITerraformIterator- Type: github.com/open-constructs/cdk-terrain-go/cdktn.ITerraformIterator
func Lifecycle() TerraformResourceLifecycle- Type: github.com/open-constructs/cdk-terrain-go/cdktn.TerraformResourceLifecycle
func Provider() TerraformProvider- Type: github.com/open-constructs/cdk-terrain-go/cdktn.TerraformProvider
func Key() *string- Type: *string
func KeyId() *string- Type: *string
func IdInput() *string- Type: *string
func RepositoryInput() *string- Type: *string
func Id() *string- Type: *string
func Repository() *string- Type: *string
| Name | Type | Description |
|---|---|---|
TfResourceType |
*string |
No description. |
func TfResourceType() *string- Type: *string
import "github.com/cdktn-io/cdktn-provider-github-go/github/v16/datagithubcodespacespublickey"
&datagithubcodespacespublickey.DataGithubCodespacesPublicKeyConfig {
Connection: interface{},
Count: interface{},
DependsOn: *[]github.com/open-constructs/cdk-terrain-go/cdktn.ITerraformDependable,
ForEach: github.com/open-constructs/cdk-terrain-go/cdktn.ITerraformIterator,
Lifecycle: github.com/open-constructs/cdk-terrain-go/cdktn.TerraformResourceLifecycle,
Provider: github.com/open-constructs/cdk-terrain-go/cdktn.TerraformProvider,
Provisioners: *[]interface{},
Repository: *string,
Id: *string,
}| Name | Type | Description |
|---|---|---|
Connection |
interface{} |
No description. |
Count |
interface{} |
No description. |
DependsOn |
*[]github.com/open-constructs/cdk-terrain-go/cdktn.ITerraformDependable |
No description. |
ForEach |
github.com/open-constructs/cdk-terrain-go/cdktn.ITerraformIterator |
No description. |
Lifecycle |
github.com/open-constructs/cdk-terrain-go/cdktn.TerraformResourceLifecycle |
No description. |
Provider |
github.com/open-constructs/cdk-terrain-go/cdktn.TerraformProvider |
No description. |
Provisioners |
*[]interface{} |
No description. |
Repository |
*string |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.11.1/docs/data-sources/codespaces_public_key#repository DataGithubCodespacesPublicKey#repository}. |
Id |
*string |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.11.1/docs/data-sources/codespaces_public_key#id DataGithubCodespacesPublicKey#id}. |
Connection interface{}- Type: interface{}
Count interface{}- Type: interface{}
DependsOn *[]ITerraformDependable- Type: *[]github.com/open-constructs/cdk-terrain-go/cdktn.ITerraformDependable
ForEach ITerraformIterator- Type: github.com/open-constructs/cdk-terrain-go/cdktn.ITerraformIterator
Lifecycle TerraformResourceLifecycle- Type: github.com/open-constructs/cdk-terrain-go/cdktn.TerraformResourceLifecycle
Provider TerraformProvider- Type: github.com/open-constructs/cdk-terrain-go/cdktn.TerraformProvider
Provisioners *[]interface{}- Type: *[]interface{}
Repository *string- Type: *string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.11.1/docs/data-sources/codespaces_public_key#repository DataGithubCodespacesPublicKey#repository}.
Id *string- Type: *string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/integrations/github/6.11.1/docs/data-sources/codespaces_public_key#id DataGithubCodespacesPublicKey#id}.
Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.