Skip to content

Latest commit

 

History

History
2294 lines (1438 loc) · 97.9 KB

opsworksStack.md

File metadata and controls

2294 lines (1438 loc) · 97.9 KB

aws_opsworks_stack

Refer to the Terraform Registory for docs: aws_opsworks_stack.

opsworksStack Submodule

Constructs

OpsworksStack

Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack aws_opsworks_stack}.

Initializers

import { opsworksStack } from '@cdktf/aws-cdk'

new opsworksStack.OpsworksStack(scope: Construct, id: string, config: OpsworksStackConfig)
Name Type Description
scope constructs.Construct The scope in which to define this construct.
id string The scoped construct ID.
config OpsworksStackConfig No description.

scopeRequired
  • Type: constructs.Construct

The scope in which to define this construct.


idRequired
  • Type: string

The scoped construct ID.

Must be unique amongst siblings in the same scope


configRequired

Methods

Name Description
toString Returns a string representation of 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.
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.
putCustomCookbooksSource No description.
resetAgentVersion No description.
resetBerkshelfVersion No description.
resetColor No description.
resetConfigurationManagerName No description.
resetConfigurationManagerVersion No description.
resetCustomCookbooksSource No description.
resetCustomJson No description.
resetDefaultAvailabilityZone No description.
resetDefaultOs No description.
resetDefaultRootDeviceType No description.
resetDefaultSshKeyName No description.
resetDefaultSubnetId No description.
resetHostnameTheme No description.
resetId No description.
resetManageBerkshelf No description.
resetTags No description.
resetTagsAll No description.
resetUseCustomCookbooks No description.
resetUseOpsworksSecurityGroups No description.
resetVpcId No description.

toString
public toString(): string

Returns a string representation of this construct.

addOverride
public addOverride(path: string, value: any): void
pathRequired
  • Type: string

valueRequired
  • Type: any

overrideLogicalId
public overrideLogicalId(newLogicalId: string): void

Overrides the auto-generated logical ID with a specific ID.

newLogicalIdRequired
  • Type: string

The new logical ID to use for this stack element.


resetOverrideLogicalId
public resetOverrideLogicalId(): void

Resets a previously passed logical Id to use the auto-generated logical id again.

toMetadata
public toMetadata(): any
toTerraform
public toTerraform(): any

Adds this resource to the terraform JSON output.

getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

putCustomCookbooksSource
public putCustomCookbooksSource(value: IResolvable | OpsworksStackCustomCookbooksSource[]): void
valueRequired

resetAgentVersion
public resetAgentVersion(): void
resetBerkshelfVersion
public resetBerkshelfVersion(): void
resetColor
public resetColor(): void
resetConfigurationManagerName
public resetConfigurationManagerName(): void
resetConfigurationManagerVersion
public resetConfigurationManagerVersion(): void
resetCustomCookbooksSource
public resetCustomCookbooksSource(): void
resetCustomJson
public resetCustomJson(): void
resetDefaultAvailabilityZone
public resetDefaultAvailabilityZone(): void
resetDefaultOs
public resetDefaultOs(): void
resetDefaultRootDeviceType
public resetDefaultRootDeviceType(): void
resetDefaultSshKeyName
public resetDefaultSshKeyName(): void
resetDefaultSubnetId
public resetDefaultSubnetId(): void
resetHostnameTheme
public resetHostnameTheme(): void
resetId
public resetId(): void
resetManageBerkshelf
public resetManageBerkshelf(): void
resetTags
public resetTags(): void
resetTagsAll
public resetTagsAll(): void
resetUseCustomCookbooks
public resetUseCustomCookbooks(): void
resetUseOpsworksSecurityGroups
public resetUseOpsworksSecurityGroups(): void
resetVpcId
public resetVpcId(): void

Static Functions

Name Description
isConstruct Checks if x is a construct.
isTerraformElement No description.
isTerraformResource No description.

isConstruct
import { opsworksStack } from '@cdktf/aws-cdk'

opsworksStack.OpsworksStack.isConstruct(x: any)

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.

xRequired
  • Type: any

Any object.


isTerraformElement
import { opsworksStack } from '@cdktf/aws-cdk'

opsworksStack.OpsworksStack.isTerraformElement(x: any)
xRequired
  • Type: any

isTerraformResource
import { opsworksStack } from '@cdktf/aws-cdk'

opsworksStack.OpsworksStack.isTerraformResource(x: any)
xRequired
  • Type: any

Properties

Name Type Description
node constructs.Node The tree node.
cdktfStack cdktf.TerraformStack No description.
fqn string No description.
friendlyUniqueId string No description.
terraformMetaArguments {[ key: string ]: any} No description.
terraformResourceType string No description.
terraformGeneratorMetadata cdktf.TerraformProviderGeneratorMetadata No description.
connection cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection No description.
count number | cdktf.TerraformCount No description.
dependsOn string[] No description.
forEach cdktf.ITerraformIterator No description.
lifecycle cdktf.TerraformResourceLifecycle No description.
provider cdktf.TerraformProvider No description.
provisioners cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] No description.
arn string No description.
customCookbooksSource OpsworksStackCustomCookbooksSourceList No description.
stackEndpoint string No description.
agentVersionInput string No description.
berkshelfVersionInput string No description.
colorInput string No description.
configurationManagerNameInput string No description.
configurationManagerVersionInput string No description.
customCookbooksSourceInput cdktf.IResolvable | OpsworksStackCustomCookbooksSource[] No description.
customJsonInput string No description.
defaultAvailabilityZoneInput string No description.
defaultInstanceProfileArnInput string No description.
defaultOsInput string No description.
defaultRootDeviceTypeInput string No description.
defaultSshKeyNameInput string No description.
defaultSubnetIdInput string No description.
hostnameThemeInput string No description.
idInput string No description.
manageBerkshelfInput boolean | cdktf.IResolvable No description.
nameInput string No description.
regionInput string No description.
serviceRoleArnInput string No description.
tagsAllInput {[ key: string ]: string} No description.
tagsInput {[ key: string ]: string} No description.
useCustomCookbooksInput boolean | cdktf.IResolvable No description.
useOpsworksSecurityGroupsInput boolean | cdktf.IResolvable No description.
vpcIdInput string No description.
agentVersion string No description.
berkshelfVersion string No description.
color string No description.
configurationManagerName string No description.
configurationManagerVersion string No description.
customJson string No description.
defaultAvailabilityZone string No description.
defaultInstanceProfileArn string No description.
defaultOs string No description.
defaultRootDeviceType string No description.
defaultSshKeyName string No description.
defaultSubnetId string No description.
hostnameTheme string No description.
id string No description.
manageBerkshelf boolean | cdktf.IResolvable No description.
name string No description.
region string No description.
serviceRoleArn string No description.
tags {[ key: string ]: string} No description.
tagsAll {[ key: string ]: string} No description.
useCustomCookbooks boolean | cdktf.IResolvable No description.
useOpsworksSecurityGroups boolean | cdktf.IResolvable No description.
vpcId string No description.

nodeRequired
public readonly node: Node;
  • Type: constructs.Node

The tree node.


cdktfStackRequired
public readonly cdktfStack: TerraformStack;
  • Type: cdktf.TerraformStack

fqnRequired
public readonly fqn: string;
  • Type: string

friendlyUniqueIdRequired
public readonly friendlyUniqueId: string;
  • Type: string

terraformMetaArgumentsRequired
public readonly terraformMetaArguments: {[ key: string ]: any};
  • Type: {[ key: string ]: any}

terraformResourceTypeRequired
public readonly terraformResourceType: string;
  • Type: string

terraformGeneratorMetadataOptional
public readonly terraformGeneratorMetadata: TerraformProviderGeneratorMetadata;
  • Type: cdktf.TerraformProviderGeneratorMetadata

connectionOptional
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;
  • Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection

countOptional
public readonly count: number | TerraformCount;
  • Type: number | cdktf.TerraformCount

dependsOnOptional
public readonly dependsOn: string[];
  • Type: string[]

forEachOptional
public readonly forEach: ITerraformIterator;
  • Type: cdktf.ITerraformIterator

lifecycleOptional
public readonly lifecycle: TerraformResourceLifecycle;
  • Type: cdktf.TerraformResourceLifecycle

providerOptional
public readonly provider: TerraformProvider;
  • Type: cdktf.TerraformProvider

provisionersOptional
public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[];
  • Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]

arnRequired
public readonly arn: string;
  • Type: string

customCookbooksSourceRequired
public readonly customCookbooksSource: OpsworksStackCustomCookbooksSourceList;

stackEndpointRequired
public readonly stackEndpoint: string;
  • Type: string

agentVersionInputOptional
public readonly agentVersionInput: string;
  • Type: string

berkshelfVersionInputOptional
public readonly berkshelfVersionInput: string;
  • Type: string

colorInputOptional
public readonly colorInput: string;
  • Type: string

configurationManagerNameInputOptional
public readonly configurationManagerNameInput: string;
  • Type: string

configurationManagerVersionInputOptional
public readonly configurationManagerVersionInput: string;
  • Type: string

customCookbooksSourceInputOptional
public readonly customCookbooksSourceInput: IResolvable | OpsworksStackCustomCookbooksSource[];

customJsonInputOptional
public readonly customJsonInput: string;
  • Type: string

defaultAvailabilityZoneInputOptional
public readonly defaultAvailabilityZoneInput: string;
  • Type: string

defaultInstanceProfileArnInputOptional
public readonly defaultInstanceProfileArnInput: string;
  • Type: string

defaultOsInputOptional
public readonly defaultOsInput: string;
  • Type: string

defaultRootDeviceTypeInputOptional
public readonly defaultRootDeviceTypeInput: string;
  • Type: string

defaultSshKeyNameInputOptional
public readonly defaultSshKeyNameInput: string;
  • Type: string

defaultSubnetIdInputOptional
public readonly defaultSubnetIdInput: string;
  • Type: string

hostnameThemeInputOptional
public readonly hostnameThemeInput: string;
  • Type: string

idInputOptional
public readonly idInput: string;
  • Type: string

manageBerkshelfInputOptional
public readonly manageBerkshelfInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

nameInputOptional
public readonly nameInput: string;
  • Type: string

regionInputOptional
public readonly regionInput: string;
  • Type: string

serviceRoleArnInputOptional
public readonly serviceRoleArnInput: string;
  • Type: string

tagsAllInputOptional
public readonly tagsAllInput: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

tagsInputOptional
public readonly tagsInput: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

useCustomCookbooksInputOptional
public readonly useCustomCookbooksInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

useOpsworksSecurityGroupsInputOptional
public readonly useOpsworksSecurityGroupsInput: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

vpcIdInputOptional
public readonly vpcIdInput: string;
  • Type: string

agentVersionRequired
public readonly agentVersion: string;
  • Type: string

berkshelfVersionRequired
public readonly berkshelfVersion: string;
  • Type: string

colorRequired
public readonly color: string;
  • Type: string

configurationManagerNameRequired
public readonly configurationManagerName: string;
  • Type: string

configurationManagerVersionRequired
public readonly configurationManagerVersion: string;
  • Type: string

customJsonRequired
public readonly customJson: string;
  • Type: string

defaultAvailabilityZoneRequired
public readonly defaultAvailabilityZone: string;
  • Type: string

defaultInstanceProfileArnRequired
public readonly defaultInstanceProfileArn: string;
  • Type: string

defaultOsRequired
public readonly defaultOs: string;
  • Type: string

defaultRootDeviceTypeRequired
public readonly defaultRootDeviceType: string;
  • Type: string

defaultSshKeyNameRequired
public readonly defaultSshKeyName: string;
  • Type: string

defaultSubnetIdRequired
public readonly defaultSubnetId: string;
  • Type: string

hostnameThemeRequired
public readonly hostnameTheme: string;
  • Type: string

idRequired
public readonly id: string;
  • Type: string

manageBerkshelfRequired
public readonly manageBerkshelf: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

nameRequired
public readonly name: string;
  • Type: string

regionRequired
public readonly region: string;
  • Type: string

serviceRoleArnRequired
public readonly serviceRoleArn: string;
  • Type: string

tagsRequired
public readonly tags: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

tagsAllRequired
public readonly tagsAll: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

useCustomCookbooksRequired
public readonly useCustomCookbooks: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

useOpsworksSecurityGroupsRequired
public readonly useOpsworksSecurityGroups: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

vpcIdRequired
public readonly vpcId: string;
  • Type: string

Constants

Name Type Description
tfResourceType string No description.

tfResourceTypeRequired
public readonly tfResourceType: string;
  • Type: string

Structs

OpsworksStackConfig

Initializer

import { opsworksStack } from '@cdktf/aws-cdk'

const opsworksStackConfig: opsworksStack.OpsworksStackConfig = { ... }

Properties

Name Type Description
connection cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection No description.
count number | cdktf.TerraformCount No description.
dependsOn cdktf.ITerraformDependable[] No description.
forEach cdktf.ITerraformIterator No description.
lifecycle cdktf.TerraformResourceLifecycle No description.
provider cdktf.TerraformProvider No description.
provisioners cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] No description.
defaultInstanceProfileArn string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#default_instance_profile_arn OpsworksStack#default_instance_profile_arn}.
name string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#name OpsworksStack#name}.
region string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#region OpsworksStack#region}.
serviceRoleArn string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#service_role_arn OpsworksStack#service_role_arn}.
agentVersion string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#agent_version OpsworksStack#agent_version}.
berkshelfVersion string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#berkshelf_version OpsworksStack#berkshelf_version}.
color string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#color OpsworksStack#color}.
configurationManagerName string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#configuration_manager_name OpsworksStack#configuration_manager_name}.
configurationManagerVersion string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#configuration_manager_version OpsworksStack#configuration_manager_version}.
customCookbooksSource cdktf.IResolvable | OpsworksStackCustomCookbooksSource[] custom_cookbooks_source block.
customJson string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#custom_json OpsworksStack#custom_json}.
defaultAvailabilityZone string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#default_availability_zone OpsworksStack#default_availability_zone}.
defaultOs string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#default_os OpsworksStack#default_os}.
defaultRootDeviceType string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#default_root_device_type OpsworksStack#default_root_device_type}.
defaultSshKeyName string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#default_ssh_key_name OpsworksStack#default_ssh_key_name}.
defaultSubnetId string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#default_subnet_id OpsworksStack#default_subnet_id}.
hostnameTheme string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#hostname_theme OpsworksStack#hostname_theme}.
id string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#id OpsworksStack#id}.
manageBerkshelf boolean | cdktf.IResolvable Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#manage_berkshelf OpsworksStack#manage_berkshelf}.
tags {[ key: string ]: string} Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#tags OpsworksStack#tags}.
tagsAll {[ key: string ]: string} Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#tags_all OpsworksStack#tags_all}.
useCustomCookbooks boolean | cdktf.IResolvable Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#use_custom_cookbooks OpsworksStack#use_custom_cookbooks}.
useOpsworksSecurityGroups boolean | cdktf.IResolvable Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#use_opsworks_security_groups OpsworksStack#use_opsworks_security_groups}.
vpcId string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#vpc_id OpsworksStack#vpc_id}.

connectionOptional
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;
  • Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection

countOptional
public readonly count: number | TerraformCount;
  • Type: number | cdktf.TerraformCount

dependsOnOptional
public readonly dependsOn: ITerraformDependable[];
  • Type: cdktf.ITerraformDependable[]

forEachOptional
public readonly forEach: ITerraformIterator;
  • Type: cdktf.ITerraformIterator

lifecycleOptional
public readonly lifecycle: TerraformResourceLifecycle;
  • Type: cdktf.TerraformResourceLifecycle

providerOptional
public readonly provider: TerraformProvider;
  • Type: cdktf.TerraformProvider

provisionersOptional
public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[];
  • Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]

defaultInstanceProfileArnRequired
public readonly defaultInstanceProfileArn: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#default_instance_profile_arn OpsworksStack#default_instance_profile_arn}.


nameRequired
public readonly name: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#name OpsworksStack#name}.


regionRequired
public readonly region: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#region OpsworksStack#region}.


serviceRoleArnRequired
public readonly serviceRoleArn: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#service_role_arn OpsworksStack#service_role_arn}.


agentVersionOptional
public readonly agentVersion: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#agent_version OpsworksStack#agent_version}.


berkshelfVersionOptional
public readonly berkshelfVersion: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#berkshelf_version OpsworksStack#berkshelf_version}.


colorOptional
public readonly color: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#color OpsworksStack#color}.


configurationManagerNameOptional
public readonly configurationManagerName: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#configuration_manager_name OpsworksStack#configuration_manager_name}.


configurationManagerVersionOptional
public readonly configurationManagerVersion: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#configuration_manager_version OpsworksStack#configuration_manager_version}.


customCookbooksSourceOptional
public readonly customCookbooksSource: IResolvable | OpsworksStackCustomCookbooksSource[];

custom_cookbooks_source block.

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#custom_cookbooks_source OpsworksStack#custom_cookbooks_source}


customJsonOptional
public readonly customJson: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#custom_json OpsworksStack#custom_json}.


defaultAvailabilityZoneOptional
public readonly defaultAvailabilityZone: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#default_availability_zone OpsworksStack#default_availability_zone}.


defaultOsOptional
public readonly defaultOs: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#default_os OpsworksStack#default_os}.


defaultRootDeviceTypeOptional
public readonly defaultRootDeviceType: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#default_root_device_type OpsworksStack#default_root_device_type}.


defaultSshKeyNameOptional
public readonly defaultSshKeyName: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#default_ssh_key_name OpsworksStack#default_ssh_key_name}.


defaultSubnetIdOptional
public readonly defaultSubnetId: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#default_subnet_id OpsworksStack#default_subnet_id}.


hostnameThemeOptional
public readonly hostnameTheme: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#hostname_theme OpsworksStack#hostname_theme}.


idOptional
public readonly id: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/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.


manageBerkshelfOptional
public readonly manageBerkshelf: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#manage_berkshelf OpsworksStack#manage_berkshelf}.


tagsOptional
public readonly tags: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#tags OpsworksStack#tags}.


tagsAllOptional
public readonly tagsAll: {[ key: string ]: string};
  • Type: {[ key: string ]: string}

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#tags_all OpsworksStack#tags_all}.


useCustomCookbooksOptional
public readonly useCustomCookbooks: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#use_custom_cookbooks OpsworksStack#use_custom_cookbooks}.


useOpsworksSecurityGroupsOptional
public readonly useOpsworksSecurityGroups: boolean | IResolvable;
  • Type: boolean | cdktf.IResolvable

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#use_opsworks_security_groups OpsworksStack#use_opsworks_security_groups}.


vpcIdOptional
public readonly vpcId: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#vpc_id OpsworksStack#vpc_id}.


OpsworksStackCustomCookbooksSource

Initializer

import { opsworksStack } from '@cdktf/aws-cdk'

const opsworksStackCustomCookbooksSource: opsworksStack.OpsworksStackCustomCookbooksSource = { ... }

Properties

Name Type Description
type string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#type OpsworksStack#type}.
url string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#url OpsworksStack#url}.
password string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#password OpsworksStack#password}.
revision string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#revision OpsworksStack#revision}.
sshKey string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#ssh_key OpsworksStack#ssh_key}.
username string Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#username OpsworksStack#username}.

typeRequired
public readonly type: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#type OpsworksStack#type}.


urlRequired
public readonly url: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#url OpsworksStack#url}.


passwordOptional
public readonly password: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#password OpsworksStack#password}.


revisionOptional
public readonly revision: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#revision OpsworksStack#revision}.


sshKeyOptional
public readonly sshKey: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#ssh_key OpsworksStack#ssh_key}.


usernameOptional
public readonly username: string;
  • Type: string

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/opsworks_stack#username OpsworksStack#username}.


Classes

OpsworksStackCustomCookbooksSourceList

Initializers

import { opsworksStack } from '@cdktf/aws-cdk'

new opsworksStack.OpsworksStackCustomCookbooksSourceList(terraformResource: IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.
wrapsSet boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


wrapsSetRequired
  • Type: boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
computeFqn No description.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
get No description.

computeFqn
public computeFqn(): string
resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

get
public get(index: number): OpsworksStackCustomCookbooksSourceOutputReference
indexRequired
  • Type: number

the index of the item to return.


Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
internalValue cdktf.IResolvable | OpsworksStackCustomCookbooksSource[] No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: 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.


fqnRequired
public readonly fqn: string;
  • Type: string

internalValueOptional
public readonly internalValue: IResolvable | OpsworksStackCustomCookbooksSource[];

OpsworksStackCustomCookbooksSourceOutputReference

Initializers

import { opsworksStack } from '@cdktf/aws-cdk'

new opsworksStack.OpsworksStackCustomCookbooksSourceOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean)
Name Type Description
terraformResource cdktf.IInterpolatingParent The parent resource.
terraformAttribute string The attribute on the parent resource this class is referencing.
complexObjectIndex number the index of this item in the list.
complexObjectIsFromSet boolean whether the list is wrapping a set (will add tolist() to be able to access an item via an index).

terraformResourceRequired
  • Type: cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: string

The attribute on the parent resource this class is referencing.


complexObjectIndexRequired
  • Type: number

the index of this item in the list.


complexObjectIsFromSetRequired
  • Type: boolean

whether the list is wrapping a set (will add tolist() to be able to access an item via an index).


Methods

Name Description
computeFqn No description.
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.
resolve Produce the Token's value at resolution time.
toString Return a string representation of this resolvable object.
resetPassword No description.
resetRevision No description.
resetSshKey No description.
resetUsername No description.

computeFqn
public computeFqn(): string
getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
terraformAttributeRequired
  • Type: string

getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
terraformAttributeRequired
  • Type: string

getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
terraformAttributeRequired
  • Type: string

getListAttribute
public getListAttribute(terraformAttribute: string): string[]
terraformAttributeRequired
  • Type: string

getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
terraformAttributeRequired
  • Type: string

getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
terraformAttributeRequired
  • Type: string

getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
terraformAttributeRequired
  • Type: string

getStringAttribute
public getStringAttribute(terraformAttribute: string): string
terraformAttributeRequired
  • Type: string

getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
terraformAttributeRequired
  • Type: string

interpolationForAttribute
public interpolationForAttribute(property: string): IResolvable
propertyRequired
  • Type: string

resolve
public resolve(_context: IResolveContext): any

Produce the Token's value at resolution time.

_contextRequired
  • Type: cdktf.IResolveContext

toString
public toString(): string

Return a string representation of this resolvable object.

Returns a reversible string representation.

resetPassword
public resetPassword(): void
resetRevision
public resetRevision(): void
resetSshKey
public resetSshKey(): void
resetUsername
public resetUsername(): void

Properties

Name Type Description
creationStack string[] The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn string No description.
passwordInput string No description.
revisionInput string No description.
sshKeyInput string No description.
typeInput string No description.
urlInput string No description.
usernameInput string No description.
password string No description.
revision string No description.
sshKey string No description.
type string No description.
url string No description.
username string No description.
internalValue cdktf.IResolvable | OpsworksStackCustomCookbooksSource No description.

creationStackRequired
public readonly creationStack: string[];
  • Type: 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.


fqnRequired
public readonly fqn: string;
  • Type: string

passwordInputOptional
public readonly passwordInput: string;
  • Type: string

revisionInputOptional
public readonly revisionInput: string;
  • Type: string

sshKeyInputOptional
public readonly sshKeyInput: string;
  • Type: string

typeInputOptional
public readonly typeInput: string;
  • Type: string

urlInputOptional
public readonly urlInput: string;
  • Type: string

usernameInputOptional
public readonly usernameInput: string;
  • Type: string

passwordRequired
public readonly password: string;
  • Type: string

revisionRequired
public readonly revision: string;
  • Type: string

sshKeyRequired
public readonly sshKey: string;
  • Type: string

typeRequired
public readonly type: string;
  • Type: string

urlRequired
public readonly url: string;
  • Type: string

usernameRequired
public readonly username: string;
  • Type: string

internalValueOptional
public readonly internalValue: IResolvable | OpsworksStackCustomCookbooksSource;