Documentation ¶
Index ¶
- func NewOpsworksStackCustomCookbooksSourceOutputReference_Override(o OpsworksStackCustomCookbooksSourceOutputReference, ...)
- func NewOpsworksStackTimeoutsOutputReference_Override(o OpsworksStackTimeoutsOutputReference, ...)
- func NewOpsworksStack_Override(o OpsworksStack, scope constructs.Construct, id *string, ...)
- func OpsworksStack_IsConstruct(x interface{}) *bool
- func OpsworksStack_IsTerraformElement(x interface{}) *bool
- func OpsworksStack_IsTerraformResource(x interface{}) *bool
- func OpsworksStack_TfResourceType() *string
- type OpsworksStack
- type OpsworksStackConfig
- type OpsworksStackCustomCookbooksSource
- type OpsworksStackCustomCookbooksSourceOutputReference
- type OpsworksStackTimeouts
- type OpsworksStackTimeoutsOutputReference
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOpsworksStackCustomCookbooksSourceOutputReference_Override ¶
func NewOpsworksStackCustomCookbooksSourceOutputReference_Override(o OpsworksStackCustomCookbooksSourceOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewOpsworksStackTimeoutsOutputReference_Override ¶
func NewOpsworksStackTimeoutsOutputReference_Override(o OpsworksStackTimeoutsOutputReference, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string)
func NewOpsworksStack_Override ¶
func NewOpsworksStack_Override(o OpsworksStack, scope constructs.Construct, id *string, config *OpsworksStackConfig)
Create a new {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack aws_opsworks_stack} Resource.
func OpsworksStack_IsConstruct ¶
func OpsworksStack_IsConstruct(x interface{}) *bool
Checks 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.
Returns: true if `x` is an object created from a class which extends `Construct`.
func OpsworksStack_IsTerraformElement ¶
func OpsworksStack_IsTerraformElement(x interface{}) *bool
Experimental.
func OpsworksStack_IsTerraformResource ¶
func OpsworksStack_IsTerraformResource(x interface{}) *bool
Experimental.
func OpsworksStack_TfResourceType ¶
func OpsworksStack_TfResourceType() *string
Types ¶
type OpsworksStack ¶
type OpsworksStack interface { cdktf.TerraformResource AgentVersion() *string SetAgentVersion(val *string) AgentVersionInput() *string Arn() *string BerkshelfVersion() *string SetBerkshelfVersion(val *string) BerkshelfVersionInput() *string // Experimental. CdktfStack() cdktf.TerraformStack Color() *string SetColor(val *string) ColorInput() *string ConfigurationManagerName() *string SetConfigurationManagerName(val *string) ConfigurationManagerNameInput() *string ConfigurationManagerVersion() *string SetConfigurationManagerVersion(val *string) ConfigurationManagerVersionInput() *string // Experimental. Connection() interface{} // Experimental. SetConnection(val interface{}) // Experimental. ConstructNodeMetadata() *map[string]interface{} // Experimental. Count() *float64 // Experimental. SetCount(val *float64) CustomCookbooksSource() OpsworksStackCustomCookbooksSourceOutputReference CustomCookbooksSourceInput() *OpsworksStackCustomCookbooksSource CustomJson() *string SetCustomJson(val *string) CustomJsonInput() *string DefaultAvailabilityZone() *string SetDefaultAvailabilityZone(val *string) DefaultAvailabilityZoneInput() *string DefaultInstanceProfileArn() *string SetDefaultInstanceProfileArn(val *string) DefaultInstanceProfileArnInput() *string DefaultOs() *string SetDefaultOs(val *string) DefaultOsInput() *string DefaultRootDeviceType() *string SetDefaultRootDeviceType(val *string) DefaultRootDeviceTypeInput() *string DefaultSshKeyName() *string SetDefaultSshKeyName(val *string) DefaultSshKeyNameInput() *string DefaultSubnetId() *string SetDefaultSubnetId(val *string) DefaultSubnetIdInput() *string // Experimental. DependsOn() *[]*string // Experimental. SetDependsOn(val *[]*string) // Experimental. ForEach() cdktf.ITerraformIterator // Experimental. SetForEach(val cdktf.ITerraformIterator) // Experimental. Fqn() *string // Experimental. FriendlyUniqueId() *string HostnameTheme() *string SetHostnameTheme(val *string) HostnameThemeInput() *string Id() *string SetId(val *string) IdInput() *string // Experimental. Lifecycle() *cdktf.TerraformResourceLifecycle // Experimental. SetLifecycle(val *cdktf.TerraformResourceLifecycle) ManageBerkshelf() interface{} SetManageBerkshelf(val interface{}) ManageBerkshelfInput() interface{} Name() *string SetName(val *string) NameInput() *string // The tree node. Node() constructs.Node // Experimental. Provider() cdktf.TerraformProvider // Experimental. SetProvider(val cdktf.TerraformProvider) // Experimental. Provisioners() *[]interface{} // Experimental. SetProvisioners(val *[]interface{}) // Experimental. RawOverrides() interface{} Region() *string SetRegion(val *string) RegionInput() *string ServiceRoleArn() *string SetServiceRoleArn(val *string) ServiceRoleArnInput() *string StackEndpoint() *string Tags() *map[string]*string SetTags(val *map[string]*string) TagsAll() *map[string]*string SetTagsAll(val *map[string]*string) TagsAllInput() *map[string]*string TagsInput() *map[string]*string // Experimental. TerraformGeneratorMetadata() *cdktf.TerraformProviderGeneratorMetadata // Experimental. TerraformMetaArguments() *map[string]interface{} // Experimental. TerraformResourceType() *string Timeouts() OpsworksStackTimeoutsOutputReference TimeoutsInput() interface{} UseCustomCookbooks() interface{} SetUseCustomCookbooks(val interface{}) UseCustomCookbooksInput() interface{} UseOpsworksSecurityGroups() interface{} SetUseOpsworksSecurityGroups(val interface{}) UseOpsworksSecurityGroupsInput() interface{} VpcId() *string SetVpcId(val *string) VpcIdInput() *string // Experimental. AddOverride(path *string, value interface{}) // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationForAttribute(terraformAttribute *string) cdktf.IResolvable // Overrides the auto-generated logical ID with a specific ID. // Experimental. OverrideLogicalId(newLogicalId *string) PutCustomCookbooksSource(value *OpsworksStackCustomCookbooksSource) PutTimeouts(value *OpsworksStackTimeouts) ResetAgentVersion() ResetBerkshelfVersion() ResetColor() ResetConfigurationManagerName() ResetConfigurationManagerVersion() ResetCustomCookbooksSource() ResetCustomJson() ResetDefaultAvailabilityZone() ResetDefaultOs() ResetDefaultRootDeviceType() ResetDefaultSshKeyName() ResetDefaultSubnetId() ResetHostnameTheme() ResetId() ResetManageBerkshelf() // Resets a previously passed logical Id to use the auto-generated logical id again. // Experimental. ResetOverrideLogicalId() ResetTags() ResetTagsAll() ResetTimeouts() ResetUseCustomCookbooks() ResetUseOpsworksSecurityGroups() ResetVpcId() SynthesizeAttributes() *map[string]interface{} // Experimental. ToMetadata() interface{} // Returns a string representation of this construct. ToString() *string // Adds this resource to the terraform JSON output. // Experimental. ToTerraform() interface{} }
Represents a {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack aws_opsworks_stack}.
func NewOpsworksStack ¶
func NewOpsworksStack(scope constructs.Construct, id *string, config *OpsworksStackConfig) OpsworksStack
Create a new {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack aws_opsworks_stack} Resource.
type OpsworksStackConfig ¶
type OpsworksStackConfig struct { // Experimental. Connection interface{} `field:"optional" json:"connection" yaml:"connection"` // Experimental. Count *float64 `field:"optional" json:"count" yaml:"count"` // Experimental. DependsOn *[]cdktf.ITerraformDependable `field:"optional" json:"dependsOn" yaml:"dependsOn"` // Experimental. ForEach cdktf.ITerraformIterator `field:"optional" json:"forEach" yaml:"forEach"` // Experimental. Lifecycle *cdktf.TerraformResourceLifecycle `field:"optional" json:"lifecycle" yaml:"lifecycle"` // Experimental. Provider cdktf.TerraformProvider `field:"optional" json:"provider" yaml:"provider"` // Experimental. Provisioners *[]interface{} `field:"optional" json:"provisioners" yaml:"provisioners"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#default_instance_profile_arn OpsworksStack#default_instance_profile_arn}. DefaultInstanceProfileArn *string `field:"required" json:"defaultInstanceProfileArn" yaml:"defaultInstanceProfileArn"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#name OpsworksStack#name}. Name *string `field:"required" json:"name" yaml:"name"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#region OpsworksStack#region}. Region *string `field:"required" json:"region" yaml:"region"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#service_role_arn OpsworksStack#service_role_arn}. ServiceRoleArn *string `field:"required" json:"serviceRoleArn" yaml:"serviceRoleArn"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#agent_version OpsworksStack#agent_version}. AgentVersion *string `field:"optional" json:"agentVersion" yaml:"agentVersion"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#berkshelf_version OpsworksStack#berkshelf_version}. BerkshelfVersion *string `field:"optional" json:"berkshelfVersion" yaml:"berkshelfVersion"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#color OpsworksStack#color}. Color *string `field:"optional" json:"color" yaml:"color"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#configuration_manager_name OpsworksStack#configuration_manager_name}. ConfigurationManagerName *string `field:"optional" json:"configurationManagerName" yaml:"configurationManagerName"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#configuration_manager_version OpsworksStack#configuration_manager_version}. ConfigurationManagerVersion *string `field:"optional" json:"configurationManagerVersion" yaml:"configurationManagerVersion"` // custom_cookbooks_source block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#custom_cookbooks_source OpsworksStack#custom_cookbooks_source} CustomCookbooksSource *OpsworksStackCustomCookbooksSource `field:"optional" json:"customCookbooksSource" yaml:"customCookbooksSource"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#custom_json OpsworksStack#custom_json}. CustomJson *string `field:"optional" json:"customJson" yaml:"customJson"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#default_availability_zone OpsworksStack#default_availability_zone}. DefaultAvailabilityZone *string `field:"optional" json:"defaultAvailabilityZone" yaml:"defaultAvailabilityZone"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#default_os OpsworksStack#default_os}. DefaultOs *string `field:"optional" json:"defaultOs" yaml:"defaultOs"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#default_root_device_type OpsworksStack#default_root_device_type}. DefaultRootDeviceType *string `field:"optional" json:"defaultRootDeviceType" yaml:"defaultRootDeviceType"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#default_ssh_key_name OpsworksStack#default_ssh_key_name}. DefaultSshKeyName *string `field:"optional" json:"defaultSshKeyName" yaml:"defaultSshKeyName"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#default_subnet_id OpsworksStack#default_subnet_id}. DefaultSubnetId *string `field:"optional" json:"defaultSubnetId" yaml:"defaultSubnetId"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#hostname_theme OpsworksStack#hostname_theme}. HostnameTheme *string `field:"optional" json:"hostnameTheme" yaml:"hostnameTheme"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#id OpsworksStack#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. Id *string `field:"optional" json:"id" yaml:"id"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#manage_berkshelf OpsworksStack#manage_berkshelf}. ManageBerkshelf interface{} `field:"optional" json:"manageBerkshelf" yaml:"manageBerkshelf"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#tags OpsworksStack#tags}. Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#tags_all OpsworksStack#tags_all}. TagsAll *map[string]*string `field:"optional" json:"tagsAll" yaml:"tagsAll"` // timeouts block. // // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#timeouts OpsworksStack#timeouts} Timeouts *OpsworksStackTimeouts `field:"optional" json:"timeouts" yaml:"timeouts"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#use_custom_cookbooks OpsworksStack#use_custom_cookbooks}. UseCustomCookbooks interface{} `field:"optional" json:"useCustomCookbooks" yaml:"useCustomCookbooks"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#use_opsworks_security_groups OpsworksStack#use_opsworks_security_groups}. UseOpsworksSecurityGroups interface{} `field:"optional" json:"useOpsworksSecurityGroups" yaml:"useOpsworksSecurityGroups"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#vpc_id OpsworksStack#vpc_id}. VpcId *string `field:"optional" json:"vpcId" yaml:"vpcId"` }
type OpsworksStackCustomCookbooksSource ¶
type OpsworksStackCustomCookbooksSource struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#type OpsworksStack#type}. Type *string `field:"required" json:"type" yaml:"type"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#url OpsworksStack#url}. Url *string `field:"required" json:"url" yaml:"url"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#password OpsworksStack#password}. Password *string `field:"optional" json:"password" yaml:"password"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#revision OpsworksStack#revision}. Revision *string `field:"optional" json:"revision" yaml:"revision"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#ssh_key OpsworksStack#ssh_key}. SshKey *string `field:"optional" json:"sshKey" yaml:"sshKey"` // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#username OpsworksStack#username}. Username *string `field:"optional" json:"username" yaml:"username"` }
type OpsworksStackCustomCookbooksSourceOutputReference ¶
type OpsworksStackCustomCookbooksSourceOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() *OpsworksStackCustomCookbooksSource SetInternalValue(val *OpsworksStackCustomCookbooksSource) Password() *string SetPassword(val *string) PasswordInput() *string Revision() *string SetRevision(val *string) RevisionInput() *string SshKey() *string SetSshKey(val *string) SshKeyInput() *string // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) Type() *string SetType(val *string) TypeInput() *string Url() *string SetUrl(val *string) UrlInput() *string Username() *string SetUsername(val *string) UsernameInput() *string // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetPassword() ResetRevision() ResetSshKey() ResetUsername() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewOpsworksStackCustomCookbooksSourceOutputReference ¶
func NewOpsworksStackCustomCookbooksSourceOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) OpsworksStackCustomCookbooksSourceOutputReference
type OpsworksStackTimeouts ¶
type OpsworksStackTimeouts struct { // Docs at Terraform Registry: {@link https://www.terraform.io/docs/providers/aws/r/opsworks_stack#create OpsworksStack#create}. Create *string `field:"optional" json:"create" yaml:"create"` }
type OpsworksStackTimeoutsOutputReference ¶
type OpsworksStackTimeoutsOutputReference interface { cdktf.ComplexObject // the index of the complex object in a list. // Experimental. ComplexObjectIndex() interface{} // Experimental. SetComplexObjectIndex(val interface{}) // set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. // Experimental. ComplexObjectIsFromSet() *bool // Experimental. SetComplexObjectIsFromSet(val *bool) Create() *string SetCreate(val *string) CreateInput() *string // The creation stack of this resolvable which will be appended to errors thrown during resolution. // // If this returns an empty array the stack will not be attached. // Experimental. CreationStack() *[]*string // Experimental. Fqn() *string InternalValue() interface{} SetInternalValue(val interface{}) // Experimental. TerraformAttribute() *string // Experimental. SetTerraformAttribute(val *string) // Experimental. TerraformResource() cdktf.IInterpolatingParent // Experimental. SetTerraformResource(val cdktf.IInterpolatingParent) // Experimental. ComputeFqn() *string // Experimental. GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{} // Experimental. GetBooleanAttribute(terraformAttribute *string) cdktf.IResolvable // Experimental. GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool // Experimental. GetListAttribute(terraformAttribute *string) *[]*string // Experimental. GetNumberAttribute(terraformAttribute *string) *float64 // Experimental. GetNumberListAttribute(terraformAttribute *string) *[]*float64 // Experimental. GetNumberMapAttribute(terraformAttribute *string) *map[string]*float64 // Experimental. GetStringAttribute(terraformAttribute *string) *string // Experimental. GetStringMapAttribute(terraformAttribute *string) *map[string]*string // Experimental. InterpolationAsList() cdktf.IResolvable // Experimental. InterpolationForAttribute(property *string) cdktf.IResolvable ResetCreate() // Produce the Token's value at resolution time. // Experimental. Resolve(_context cdktf.IResolveContext) interface{} // Return a string representation of this resolvable object. // // Returns a reversible string representation. // Experimental. ToString() *string }
func NewOpsworksStackTimeoutsOutputReference ¶
func NewOpsworksStackTimeoutsOutputReference(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string) OpsworksStackTimeoutsOutputReference
Source Files ¶
- opsworksstack.go
- opsworksstack_OpsworksStack.go
- opsworksstack_OpsworksStackConfig.go
- opsworksstack_OpsworksStackCustomCookbooksSource.go
- opsworksstack_OpsworksStackCustomCookbooksSourceOutputReference.go
- opsworksstack_OpsworksStackCustomCookbooksSourceOutputReference__runtime_type_checks.go
- opsworksstack_OpsworksStackTimeouts.go
- opsworksstack_OpsworksStackTimeoutsOutputReference.go
- opsworksstack_OpsworksStackTimeoutsOutputReference__runtime_type_checks.go
- opsworksstack_OpsworksStack__runtime_type_checks.go