Skip to content

Latest commit

 

History

History
3015 lines (1899 loc) · 143 KB

opsworksStack.java.md

File metadata and controls

3015 lines (1899 loc) · 143 KB

opsworksStack Submodule

Constructs

OpsworksStack

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

Initializers

import com.hashicorp.cdktf.providers.aws.opsworks_stack.OpsworksStack;

OpsworksStack.Builder.create(Construct scope, java.lang.String id)
//  .connection(SSHProvisionerConnection)
//  .connection(WinrmProvisionerConnection)
//  .count(java.lang.Number)
//  .count(TerraformCount)
//  .dependsOn(java.util.List<ITerraformDependable>)
//  .forEach(ITerraformIterator)
//  .lifecycle(TerraformResourceLifecycle)
//  .provider(TerraformProvider)
//  .provisioners(java.util.List<FileProvisioner)
//  .provisioners(LocalExecProvisioner)
//  .provisioners(RemoteExecProvisioner>)
    .defaultInstanceProfileArn(java.lang.String)
    .name(java.lang.String)
    .region(java.lang.String)
    .serviceRoleArn(java.lang.String)
//  .agentVersion(java.lang.String)
//  .berkshelfVersion(java.lang.String)
//  .color(java.lang.String)
//  .configurationManagerName(java.lang.String)
//  .configurationManagerVersion(java.lang.String)
//  .customCookbooksSource(OpsworksStackCustomCookbooksSource)
//  .customJson(java.lang.String)
//  .defaultAvailabilityZone(java.lang.String)
//  .defaultOs(java.lang.String)
//  .defaultRootDeviceType(java.lang.String)
//  .defaultSshKeyName(java.lang.String)
//  .defaultSubnetId(java.lang.String)
//  .hostnameTheme(java.lang.String)
//  .id(java.lang.String)
//  .manageBerkshelf(java.lang.Boolean)
//  .manageBerkshelf(IResolvable)
//  .tags(java.util.Map<java.lang.String, java.lang.String>)
//  .tagsAll(java.util.Map<java.lang.String, java.lang.String>)
//  .timeouts(OpsworksStackTimeouts)
//  .useCustomCookbooks(java.lang.Boolean)
//  .useCustomCookbooks(IResolvable)
//  .useOpsworksSecurityGroups(java.lang.Boolean)
//  .useOpsworksSecurityGroups(IResolvable)
//  .vpcId(java.lang.String)
    .build();
Name Type Description
scope software.constructs.Construct The scope in which to define this construct.
id java.lang.String The scoped construct ID.
connection com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection No description.
count java.lang.Number OR com.hashicorp.cdktf.TerraformCount No description.
dependsOn java.util.List<com.hashicorp.cdktf.ITerraformDependable> No description.
forEach com.hashicorp.cdktf.ITerraformIterator No description.
lifecycle com.hashicorp.cdktf.TerraformResourceLifecycle No description.
provider com.hashicorp.cdktf.TerraformProvider No description.
provisioners java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner> No description.
defaultInstanceProfileArn java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#default_instance_profile_arn OpsworksStack#default_instance_profile_arn}.
name java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#name OpsworksStack#name}.
region java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#region OpsworksStack#region}.
serviceRoleArn java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#service_role_arn OpsworksStack#service_role_arn}.
agentVersion java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#agent_version OpsworksStack#agent_version}.
berkshelfVersion java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#berkshelf_version OpsworksStack#berkshelf_version}.
color java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#color OpsworksStack#color}.
configurationManagerName java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#configuration_manager_name OpsworksStack#configuration_manager_name}.
configurationManagerVersion java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#configuration_manager_version OpsworksStack#configuration_manager_version}.
customCookbooksSource OpsworksStackCustomCookbooksSource custom_cookbooks_source block.
customJson java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#custom_json OpsworksStack#custom_json}.
defaultAvailabilityZone java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#default_availability_zone OpsworksStack#default_availability_zone}.
defaultOs java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#default_os OpsworksStack#default_os}.
defaultRootDeviceType java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#default_root_device_type OpsworksStack#default_root_device_type}.
defaultSshKeyName java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#default_ssh_key_name OpsworksStack#default_ssh_key_name}.
defaultSubnetId java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#default_subnet_id OpsworksStack#default_subnet_id}.
hostnameTheme java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#hostname_theme OpsworksStack#hostname_theme}.
id java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#id OpsworksStack#id}.
manageBerkshelf java.lang.Boolean OR com.hashicorp.cdktf.IResolvable Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#manage_berkshelf OpsworksStack#manage_berkshelf}.
tags java.util.Map<java.lang.String, java.lang.String> Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#tags OpsworksStack#tags}.
tagsAll java.util.Map<java.lang.String, java.lang.String> Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#tags_all OpsworksStack#tags_all}.
timeouts OpsworksStackTimeouts timeouts block.
useCustomCookbooks java.lang.Boolean OR com.hashicorp.cdktf.IResolvable Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#use_custom_cookbooks OpsworksStack#use_custom_cookbooks}.
useOpsworksSecurityGroups java.lang.Boolean OR com.hashicorp.cdktf.IResolvable Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#use_opsworks_security_groups OpsworksStack#use_opsworks_security_groups}.
vpcId java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#vpc_id OpsworksStack#vpc_id}.

scopeRequired
  • Type: software.constructs.Construct

The scope in which to define this construct.


idRequired
  • Type: java.lang.String

The scoped construct ID.

Must be unique amongst siblings in the same scope


connectionOptional
  • Type: com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection

countOptional
  • Type: java.lang.Number OR com.hashicorp.cdktf.TerraformCount

dependsOnOptional
  • Type: java.util.List<com.hashicorp.cdktf.ITerraformDependable>

forEachOptional
  • Type: com.hashicorp.cdktf.ITerraformIterator

lifecycleOptional
  • Type: com.hashicorp.cdktf.TerraformResourceLifecycle

providerOptional
  • Type: com.hashicorp.cdktf.TerraformProvider

provisionersOptional
  • Type: java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner>

defaultInstanceProfileArnRequired
  • Type: java.lang.String

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


nameRequired
  • Type: java.lang.String

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


regionRequired
  • Type: java.lang.String

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


serviceRoleArnRequired
  • Type: java.lang.String

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


agentVersionOptional
  • Type: java.lang.String

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


berkshelfVersionOptional
  • Type: java.lang.String

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


colorOptional
  • Type: java.lang.String

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


configurationManagerNameOptional
  • Type: java.lang.String

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


configurationManagerVersionOptional
  • Type: java.lang.String

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


customCookbooksSourceOptional

custom_cookbooks_source block.

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


customJsonOptional
  • Type: java.lang.String

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


defaultAvailabilityZoneOptional
  • Type: java.lang.String

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


defaultOsOptional
  • Type: java.lang.String

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


defaultRootDeviceTypeOptional
  • Type: java.lang.String

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


defaultSshKeyNameOptional
  • Type: java.lang.String

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


defaultSubnetIdOptional
  • Type: java.lang.String

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


hostnameThemeOptional
  • Type: java.lang.String

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


idOptional
  • Type: java.lang.String

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/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
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

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


tagsOptional
  • Type: java.util.Map<java.lang.String, java.lang.String>

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


tagsAllOptional
  • Type: java.util.Map<java.lang.String, java.lang.String>

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


timeoutsOptional

timeouts block.

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


useCustomCookbooksOptional
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

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


useOpsworksSecurityGroupsOptional
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

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


vpcIdOptional
  • Type: java.lang.String

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


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.
toHclTerraform No description.
toMetadata No description.
toTerraform Adds this resource to the terraform JSON output.
addMoveTarget Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.
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.
hasResourceMove No description.
importFrom No description.
interpolationForAttribute No description.
moveFromId Move the resource corresponding to "id" to this resource.
moveTo Moves this resource to the target resource given by moveTarget.
moveToId Moves this resource to the resource corresponding to "id".
putCustomCookbooksSource No description.
putTimeouts 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.
resetTimeouts No description.
resetUseCustomCookbooks No description.
resetUseOpsworksSecurityGroups No description.
resetVpcId No description.

toString
public java.lang.String toString()

Returns a string representation of this construct.

addOverride
public void addOverride(java.lang.String path, java.lang.Object value)
pathRequired
  • Type: java.lang.String

valueRequired
  • Type: java.lang.Object

overrideLogicalId
public void overrideLogicalId(java.lang.String newLogicalId)

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

newLogicalIdRequired
  • Type: java.lang.String

The new logical ID to use for this stack element.


resetOverrideLogicalId
public void resetOverrideLogicalId()

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

toHclTerraform
public java.lang.Object toHclTerraform()
toMetadata
public java.lang.Object toMetadata()
toTerraform
public java.lang.Object toTerraform()

Adds this resource to the terraform JSON output.

addMoveTarget
public void addMoveTarget(java.lang.String moveTarget)

Adds a user defined moveTarget string to this resource to be later used in .moveTo(moveTarget) to resolve the location of the move.

moveTargetRequired
  • Type: java.lang.String

The string move target that will correspond to this resource.


getAnyMapAttribute
public java.util.Map<java.lang.String, java.lang.Object> getAnyMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanAttribute
public IResolvable getBooleanAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanMapAttribute
public java.util.Map<java.lang.String, java.lang.Boolean> getBooleanMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getListAttribute
public java.util.List<java.lang.String> getListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberAttribute
public java.lang.Number getNumberAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberListAttribute
public java.util.List<java.lang.Number> getNumberListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberMapAttribute
public java.util.Map<java.lang.String, java.lang.Number> getNumberMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringAttribute
public java.lang.String getStringAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringMapAttribute
public java.util.Map<java.lang.String, java.lang.String> getStringMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

hasResourceMove
public TerraformResourceMoveByTarget OR TerraformResourceMoveById hasResourceMove()
importFrom
public void importFrom(java.lang.String id)
public void importFrom(java.lang.String id, TerraformProvider provider)
idRequired
  • Type: java.lang.String

providerOptional
  • Type: com.hashicorp.cdktf.TerraformProvider

interpolationForAttribute
public IResolvable interpolationForAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

moveFromId
public void moveFromId(java.lang.String id)

Move the resource corresponding to "id" to this resource.

Note that the resource being moved from must be marked as moved using it's instance function.

idRequired
  • Type: java.lang.String

Full id of resource being moved from, e.g. "aws_s3_bucket.example".


moveTo
public void moveTo(java.lang.String moveTarget)
public void moveTo(java.lang.String moveTarget, java.lang.String OR java.lang.Number index)

Moves this resource to the target resource given by moveTarget.

moveTargetRequired
  • Type: java.lang.String

The previously set user defined string set by .addMoveTarget() corresponding to the resource to move to.


indexOptional
  • Type: java.lang.String OR java.lang.Number

Optional The index corresponding to the key the resource is to appear in the foreach of a resource to move to.


moveToId
public void moveToId(java.lang.String id)

Moves this resource to the resource corresponding to "id".

idRequired
  • Type: java.lang.String

Full id of resource to move to, e.g. "aws_s3_bucket.example".


putCustomCookbooksSource
public void putCustomCookbooksSource(OpsworksStackCustomCookbooksSource value)
valueRequired

putTimeouts
public void putTimeouts(OpsworksStackTimeouts value)
valueRequired

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

Static Functions

Name Description
isConstruct Checks if x is a construct.
isTerraformElement No description.
isTerraformResource No description.
generateConfigForImport Generates CDKTF code for importing a OpsworksStack resource upon running "cdktf plan ".

isConstruct
import com.hashicorp.cdktf.providers.aws.opsworks_stack.OpsworksStack;

OpsworksStack.isConstruct(java.lang.Object x)

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: java.lang.Object

Any object.


isTerraformElement
import com.hashicorp.cdktf.providers.aws.opsworks_stack.OpsworksStack;

OpsworksStack.isTerraformElement(java.lang.Object x)
xRequired
  • Type: java.lang.Object

isTerraformResource
import com.hashicorp.cdktf.providers.aws.opsworks_stack.OpsworksStack;

OpsworksStack.isTerraformResource(java.lang.Object x)
xRequired
  • Type: java.lang.Object

generateConfigForImport
import com.hashicorp.cdktf.providers.aws.opsworks_stack.OpsworksStack;

OpsworksStack.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId),OpsworksStack.generateConfigForImport(Construct scope, java.lang.String importToId, java.lang.String importFromId, TerraformProvider provider)

Generates CDKTF code for importing a OpsworksStack resource upon running "cdktf plan ".

scopeRequired
  • Type: software.constructs.Construct

The scope in which to define this construct.


importToIdRequired
  • Type: java.lang.String

The construct id used in the generated config for the OpsworksStack to import.


importFromIdRequired
  • Type: java.lang.String

The id of the existing OpsworksStack that should be imported.

Refer to the {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#import import section} in the documentation of this resource for the id to use


providerOptional
  • Type: com.hashicorp.cdktf.TerraformProvider

? Optional instance of the provider where the OpsworksStack to import is found.


Properties

Name Type Description
node software.constructs.Node The tree node.
cdktfStack com.hashicorp.cdktf.TerraformStack No description.
fqn java.lang.String No description.
friendlyUniqueId java.lang.String No description.
terraformMetaArguments java.util.Map<java.lang.String, java.lang.Object> No description.
terraformResourceType java.lang.String No description.
terraformGeneratorMetadata com.hashicorp.cdktf.TerraformProviderGeneratorMetadata No description.
connection com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection No description.
count java.lang.Number OR com.hashicorp.cdktf.TerraformCount No description.
dependsOn java.util.List<java.lang.String> No description.
forEach com.hashicorp.cdktf.ITerraformIterator No description.
lifecycle com.hashicorp.cdktf.TerraformResourceLifecycle No description.
provider com.hashicorp.cdktf.TerraformProvider No description.
provisioners java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner> No description.
arn java.lang.String No description.
customCookbooksSource OpsworksStackCustomCookbooksSourceOutputReference No description.
stackEndpoint java.lang.String No description.
timeouts OpsworksStackTimeoutsOutputReference No description.
agentVersionInput java.lang.String No description.
berkshelfVersionInput java.lang.String No description.
colorInput java.lang.String No description.
configurationManagerNameInput java.lang.String No description.
configurationManagerVersionInput java.lang.String No description.
customCookbooksSourceInput OpsworksStackCustomCookbooksSource No description.
customJsonInput java.lang.String No description.
defaultAvailabilityZoneInput java.lang.String No description.
defaultInstanceProfileArnInput java.lang.String No description.
defaultOsInput java.lang.String No description.
defaultRootDeviceTypeInput java.lang.String No description.
defaultSshKeyNameInput java.lang.String No description.
defaultSubnetIdInput java.lang.String No description.
hostnameThemeInput java.lang.String No description.
idInput java.lang.String No description.
manageBerkshelfInput java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
nameInput java.lang.String No description.
regionInput java.lang.String No description.
serviceRoleArnInput java.lang.String No description.
tagsAllInput java.util.Map<java.lang.String, java.lang.String> No description.
tagsInput java.util.Map<java.lang.String, java.lang.String> No description.
timeoutsInput com.hashicorp.cdktf.IResolvable OR OpsworksStackTimeouts No description.
useCustomCookbooksInput java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
useOpsworksSecurityGroupsInput java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
vpcIdInput java.lang.String No description.
agentVersion java.lang.String No description.
berkshelfVersion java.lang.String No description.
color java.lang.String No description.
configurationManagerName java.lang.String No description.
configurationManagerVersion java.lang.String No description.
customJson java.lang.String No description.
defaultAvailabilityZone java.lang.String No description.
defaultInstanceProfileArn java.lang.String No description.
defaultOs java.lang.String No description.
defaultRootDeviceType java.lang.String No description.
defaultSshKeyName java.lang.String No description.
defaultSubnetId java.lang.String No description.
hostnameTheme java.lang.String No description.
id java.lang.String No description.
manageBerkshelf java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
name java.lang.String No description.
region java.lang.String No description.
serviceRoleArn java.lang.String No description.
tags java.util.Map<java.lang.String, java.lang.String> No description.
tagsAll java.util.Map<java.lang.String, java.lang.String> No description.
useCustomCookbooks java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
useOpsworksSecurityGroups java.lang.Boolean OR com.hashicorp.cdktf.IResolvable No description.
vpcId java.lang.String No description.

nodeRequired
public Node getNode();
  • Type: software.constructs.Node

The tree node.


cdktfStackRequired
public TerraformStack getCdktfStack();
  • Type: com.hashicorp.cdktf.TerraformStack

fqnRequired
public java.lang.String getFqn();
  • Type: java.lang.String

friendlyUniqueIdRequired
public java.lang.String getFriendlyUniqueId();
  • Type: java.lang.String

terraformMetaArgumentsRequired
public java.util.Map<java.lang.String, java.lang.Object> getTerraformMetaArguments();
  • Type: java.util.Map<java.lang.String, java.lang.Object>

terraformResourceTypeRequired
public java.lang.String getTerraformResourceType();
  • Type: java.lang.String

terraformGeneratorMetadataOptional
public TerraformProviderGeneratorMetadata getTerraformGeneratorMetadata();
  • Type: com.hashicorp.cdktf.TerraformProviderGeneratorMetadata

connectionOptional
public java.lang.Object getConnection();
  • Type: com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection

countOptional
public java.lang.Object getCount();
  • Type: java.lang.Number OR com.hashicorp.cdktf.TerraformCount

dependsOnOptional
public java.util.List<java.lang.String> getDependsOn();
  • Type: java.util.List<java.lang.String>

forEachOptional
public ITerraformIterator getForEach();
  • Type: com.hashicorp.cdktf.ITerraformIterator

lifecycleOptional
public TerraformResourceLifecycle getLifecycle();
  • Type: com.hashicorp.cdktf.TerraformResourceLifecycle

providerOptional
public TerraformProvider getProvider();
  • Type: com.hashicorp.cdktf.TerraformProvider

provisionersOptional
public java.lang.Object getProvisioners();
  • Type: java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner>

arnRequired
public java.lang.String getArn();
  • Type: java.lang.String

customCookbooksSourceRequired
public OpsworksStackCustomCookbooksSourceOutputReference getCustomCookbooksSource();

stackEndpointRequired
public java.lang.String getStackEndpoint();
  • Type: java.lang.String

timeoutsRequired
public OpsworksStackTimeoutsOutputReference getTimeouts();

agentVersionInputOptional
public java.lang.String getAgentVersionInput();
  • Type: java.lang.String

berkshelfVersionInputOptional
public java.lang.String getBerkshelfVersionInput();
  • Type: java.lang.String

colorInputOptional
public java.lang.String getColorInput();
  • Type: java.lang.String

configurationManagerNameInputOptional
public java.lang.String getConfigurationManagerNameInput();
  • Type: java.lang.String

configurationManagerVersionInputOptional
public java.lang.String getConfigurationManagerVersionInput();
  • Type: java.lang.String

customCookbooksSourceInputOptional
public OpsworksStackCustomCookbooksSource getCustomCookbooksSourceInput();

customJsonInputOptional
public java.lang.String getCustomJsonInput();
  • Type: java.lang.String

defaultAvailabilityZoneInputOptional
public java.lang.String getDefaultAvailabilityZoneInput();
  • Type: java.lang.String

defaultInstanceProfileArnInputOptional
public java.lang.String getDefaultInstanceProfileArnInput();
  • Type: java.lang.String

defaultOsInputOptional
public java.lang.String getDefaultOsInput();
  • Type: java.lang.String

defaultRootDeviceTypeInputOptional
public java.lang.String getDefaultRootDeviceTypeInput();
  • Type: java.lang.String

defaultSshKeyNameInputOptional
public java.lang.String getDefaultSshKeyNameInput();
  • Type: java.lang.String

defaultSubnetIdInputOptional
public java.lang.String getDefaultSubnetIdInput();
  • Type: java.lang.String

hostnameThemeInputOptional
public java.lang.String getHostnameThemeInput();
  • Type: java.lang.String

idInputOptional
public java.lang.String getIdInput();
  • Type: java.lang.String

manageBerkshelfInputOptional
public java.lang.Object getManageBerkshelfInput();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

nameInputOptional
public java.lang.String getNameInput();
  • Type: java.lang.String

regionInputOptional
public java.lang.String getRegionInput();
  • Type: java.lang.String

serviceRoleArnInputOptional
public java.lang.String getServiceRoleArnInput();
  • Type: java.lang.String

tagsAllInputOptional
public java.util.Map<java.lang.String, java.lang.String> getTagsAllInput();
  • Type: java.util.Map<java.lang.String, java.lang.String>

tagsInputOptional
public java.util.Map<java.lang.String, java.lang.String> getTagsInput();
  • Type: java.util.Map<java.lang.String, java.lang.String>

timeoutsInputOptional
public java.lang.Object getTimeoutsInput();

useCustomCookbooksInputOptional
public java.lang.Object getUseCustomCookbooksInput();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

useOpsworksSecurityGroupsInputOptional
public java.lang.Object getUseOpsworksSecurityGroupsInput();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

vpcIdInputOptional
public java.lang.String getVpcIdInput();
  • Type: java.lang.String

agentVersionRequired
public java.lang.String getAgentVersion();
  • Type: java.lang.String

berkshelfVersionRequired
public java.lang.String getBerkshelfVersion();
  • Type: java.lang.String

colorRequired
public java.lang.String getColor();
  • Type: java.lang.String

configurationManagerNameRequired
public java.lang.String getConfigurationManagerName();
  • Type: java.lang.String

configurationManagerVersionRequired
public java.lang.String getConfigurationManagerVersion();
  • Type: java.lang.String

customJsonRequired
public java.lang.String getCustomJson();
  • Type: java.lang.String

defaultAvailabilityZoneRequired
public java.lang.String getDefaultAvailabilityZone();
  • Type: java.lang.String

defaultInstanceProfileArnRequired
public java.lang.String getDefaultInstanceProfileArn();
  • Type: java.lang.String

defaultOsRequired
public java.lang.String getDefaultOs();
  • Type: java.lang.String

defaultRootDeviceTypeRequired
public java.lang.String getDefaultRootDeviceType();
  • Type: java.lang.String

defaultSshKeyNameRequired
public java.lang.String getDefaultSshKeyName();
  • Type: java.lang.String

defaultSubnetIdRequired
public java.lang.String getDefaultSubnetId();
  • Type: java.lang.String

hostnameThemeRequired
public java.lang.String getHostnameTheme();
  • Type: java.lang.String

idRequired
public java.lang.String getId();
  • Type: java.lang.String

manageBerkshelfRequired
public java.lang.Object getManageBerkshelf();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

nameRequired
public java.lang.String getName();
  • Type: java.lang.String

regionRequired
public java.lang.String getRegion();
  • Type: java.lang.String

serviceRoleArnRequired
public java.lang.String getServiceRoleArn();
  • Type: java.lang.String

tagsRequired
public java.util.Map<java.lang.String, java.lang.String> getTags();
  • Type: java.util.Map<java.lang.String, java.lang.String>

tagsAllRequired
public java.util.Map<java.lang.String, java.lang.String> getTagsAll();
  • Type: java.util.Map<java.lang.String, java.lang.String>

useCustomCookbooksRequired
public java.lang.Object getUseCustomCookbooks();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

useOpsworksSecurityGroupsRequired
public java.lang.Object getUseOpsworksSecurityGroups();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

vpcIdRequired
public java.lang.String getVpcId();
  • Type: java.lang.String

Constants

Name Type Description
tfResourceType java.lang.String No description.

tfResourceTypeRequired
public java.lang.String getTfResourceType();
  • Type: java.lang.String

Structs

OpsworksStackConfig

Initializer

import com.hashicorp.cdktf.providers.aws.opsworks_stack.OpsworksStackConfig;

OpsworksStackConfig.builder()
//  .connection(SSHProvisionerConnection)
//  .connection(WinrmProvisionerConnection)
//  .count(java.lang.Number)
//  .count(TerraformCount)
//  .dependsOn(java.util.List<ITerraformDependable>)
//  .forEach(ITerraformIterator)
//  .lifecycle(TerraformResourceLifecycle)
//  .provider(TerraformProvider)
//  .provisioners(java.util.List<FileProvisioner)
//  .provisioners(LocalExecProvisioner)
//  .provisioners(RemoteExecProvisioner>)
    .defaultInstanceProfileArn(java.lang.String)
    .name(java.lang.String)
    .region(java.lang.String)
    .serviceRoleArn(java.lang.String)
//  .agentVersion(java.lang.String)
//  .berkshelfVersion(java.lang.String)
//  .color(java.lang.String)
//  .configurationManagerName(java.lang.String)
//  .configurationManagerVersion(java.lang.String)
//  .customCookbooksSource(OpsworksStackCustomCookbooksSource)
//  .customJson(java.lang.String)
//  .defaultAvailabilityZone(java.lang.String)
//  .defaultOs(java.lang.String)
//  .defaultRootDeviceType(java.lang.String)
//  .defaultSshKeyName(java.lang.String)
//  .defaultSubnetId(java.lang.String)
//  .hostnameTheme(java.lang.String)
//  .id(java.lang.String)
//  .manageBerkshelf(java.lang.Boolean)
//  .manageBerkshelf(IResolvable)
//  .tags(java.util.Map<java.lang.String, java.lang.String>)
//  .tagsAll(java.util.Map<java.lang.String, java.lang.String>)
//  .timeouts(OpsworksStackTimeouts)
//  .useCustomCookbooks(java.lang.Boolean)
//  .useCustomCookbooks(IResolvable)
//  .useOpsworksSecurityGroups(java.lang.Boolean)
//  .useOpsworksSecurityGroups(IResolvable)
//  .vpcId(java.lang.String)
    .build();

Properties

Name Type Description
connection com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection No description.
count java.lang.Number OR com.hashicorp.cdktf.TerraformCount No description.
dependsOn java.util.List<com.hashicorp.cdktf.ITerraformDependable> No description.
forEach com.hashicorp.cdktf.ITerraformIterator No description.
lifecycle com.hashicorp.cdktf.TerraformResourceLifecycle No description.
provider com.hashicorp.cdktf.TerraformProvider No description.
provisioners java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner> No description.
defaultInstanceProfileArn java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#default_instance_profile_arn OpsworksStack#default_instance_profile_arn}.
name java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#name OpsworksStack#name}.
region java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#region OpsworksStack#region}.
serviceRoleArn java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#service_role_arn OpsworksStack#service_role_arn}.
agentVersion java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#agent_version OpsworksStack#agent_version}.
berkshelfVersion java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#berkshelf_version OpsworksStack#berkshelf_version}.
color java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#color OpsworksStack#color}.
configurationManagerName java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#configuration_manager_name OpsworksStack#configuration_manager_name}.
configurationManagerVersion java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#configuration_manager_version OpsworksStack#configuration_manager_version}.
customCookbooksSource OpsworksStackCustomCookbooksSource custom_cookbooks_source block.
customJson java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#custom_json OpsworksStack#custom_json}.
defaultAvailabilityZone java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#default_availability_zone OpsworksStack#default_availability_zone}.
defaultOs java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#default_os OpsworksStack#default_os}.
defaultRootDeviceType java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#default_root_device_type OpsworksStack#default_root_device_type}.
defaultSshKeyName java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#default_ssh_key_name OpsworksStack#default_ssh_key_name}.
defaultSubnetId java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#default_subnet_id OpsworksStack#default_subnet_id}.
hostnameTheme java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#hostname_theme OpsworksStack#hostname_theme}.
id java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#id OpsworksStack#id}.
manageBerkshelf java.lang.Boolean OR com.hashicorp.cdktf.IResolvable Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#manage_berkshelf OpsworksStack#manage_berkshelf}.
tags java.util.Map<java.lang.String, java.lang.String> Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#tags OpsworksStack#tags}.
tagsAll java.util.Map<java.lang.String, java.lang.String> Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#tags_all OpsworksStack#tags_all}.
timeouts OpsworksStackTimeouts timeouts block.
useCustomCookbooks java.lang.Boolean OR com.hashicorp.cdktf.IResolvable Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#use_custom_cookbooks OpsworksStack#use_custom_cookbooks}.
useOpsworksSecurityGroups java.lang.Boolean OR com.hashicorp.cdktf.IResolvable Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#use_opsworks_security_groups OpsworksStack#use_opsworks_security_groups}.
vpcId java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#vpc_id OpsworksStack#vpc_id}.

connectionOptional
public java.lang.Object getConnection();
  • Type: com.hashicorp.cdktf.SSHProvisionerConnection OR com.hashicorp.cdktf.WinrmProvisionerConnection

countOptional
public java.lang.Object getCount();
  • Type: java.lang.Number OR com.hashicorp.cdktf.TerraformCount

dependsOnOptional
public java.util.List<ITerraformDependable> getDependsOn();
  • Type: java.util.List<com.hashicorp.cdktf.ITerraformDependable>

forEachOptional
public ITerraformIterator getForEach();
  • Type: com.hashicorp.cdktf.ITerraformIterator

lifecycleOptional
public TerraformResourceLifecycle getLifecycle();
  • Type: com.hashicorp.cdktf.TerraformResourceLifecycle

providerOptional
public TerraformProvider getProvider();
  • Type: com.hashicorp.cdktf.TerraformProvider

provisionersOptional
public java.lang.Object getProvisioners();
  • Type: java.util.List<com.hashicorp.cdktf.FileProvisioner OR com.hashicorp.cdktf.LocalExecProvisioner OR com.hashicorp.cdktf.RemoteExecProvisioner>

defaultInstanceProfileArnRequired
public java.lang.String getDefaultInstanceProfileArn();
  • Type: java.lang.String

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


nameRequired
public java.lang.String getName();
  • Type: java.lang.String

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


regionRequired
public java.lang.String getRegion();
  • Type: java.lang.String

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


serviceRoleArnRequired
public java.lang.String getServiceRoleArn();
  • Type: java.lang.String

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


agentVersionOptional
public java.lang.String getAgentVersion();
  • Type: java.lang.String

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


berkshelfVersionOptional
public java.lang.String getBerkshelfVersion();
  • Type: java.lang.String

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


colorOptional
public java.lang.String getColor();
  • Type: java.lang.String

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


configurationManagerNameOptional
public java.lang.String getConfigurationManagerName();
  • Type: java.lang.String

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


configurationManagerVersionOptional
public java.lang.String getConfigurationManagerVersion();
  • Type: java.lang.String

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


customCookbooksSourceOptional
public OpsworksStackCustomCookbooksSource getCustomCookbooksSource();

custom_cookbooks_source block.

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


customJsonOptional
public java.lang.String getCustomJson();
  • Type: java.lang.String

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


defaultAvailabilityZoneOptional
public java.lang.String getDefaultAvailabilityZone();
  • Type: java.lang.String

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


defaultOsOptional
public java.lang.String getDefaultOs();
  • Type: java.lang.String

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


defaultRootDeviceTypeOptional
public java.lang.String getDefaultRootDeviceType();
  • Type: java.lang.String

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


defaultSshKeyNameOptional
public java.lang.String getDefaultSshKeyName();
  • Type: java.lang.String

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


defaultSubnetIdOptional
public java.lang.String getDefaultSubnetId();
  • Type: java.lang.String

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


hostnameThemeOptional
public java.lang.String getHostnameTheme();
  • Type: java.lang.String

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


idOptional
public java.lang.String getId();
  • Type: java.lang.String

Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/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 java.lang.Object getManageBerkshelf();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

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


tagsOptional
public java.util.Map<java.lang.String, java.lang.String> getTags();
  • Type: java.util.Map<java.lang.String, java.lang.String>

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


tagsAllOptional
public java.util.Map<java.lang.String, java.lang.String> getTagsAll();
  • Type: java.util.Map<java.lang.String, java.lang.String>

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


timeoutsOptional
public OpsworksStackTimeouts getTimeouts();

timeouts block.

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


useCustomCookbooksOptional
public java.lang.Object getUseCustomCookbooks();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

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


useOpsworksSecurityGroupsOptional
public java.lang.Object getUseOpsworksSecurityGroups();
  • Type: java.lang.Boolean OR com.hashicorp.cdktf.IResolvable

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


vpcIdOptional
public java.lang.String getVpcId();
  • Type: java.lang.String

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


OpsworksStackCustomCookbooksSource

Initializer

import com.hashicorp.cdktf.providers.aws.opsworks_stack.OpsworksStackCustomCookbooksSource;

OpsworksStackCustomCookbooksSource.builder()
    .type(java.lang.String)
    .url(java.lang.String)
//  .password(java.lang.String)
//  .revision(java.lang.String)
//  .sshKey(java.lang.String)
//  .username(java.lang.String)
    .build();

Properties

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

typeRequired
public java.lang.String getType();
  • Type: java.lang.String

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


urlRequired
public java.lang.String getUrl();
  • Type: java.lang.String

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


passwordOptional
public java.lang.String getPassword();
  • Type: java.lang.String

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


revisionOptional
public java.lang.String getRevision();
  • Type: java.lang.String

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


sshKeyOptional
public java.lang.String getSshKey();
  • Type: java.lang.String

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


usernameOptional
public java.lang.String getUsername();
  • Type: java.lang.String

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


OpsworksStackTimeouts

Initializer

import com.hashicorp.cdktf.providers.aws.opsworks_stack.OpsworksStackTimeouts;

OpsworksStackTimeouts.builder()
//  .create(java.lang.String)
    .build();

Properties

Name Type Description
create java.lang.String Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.79.0/docs/resources/opsworks_stack#create OpsworksStack#create}.

createOptional
public java.lang.String getCreate();
  • Type: java.lang.String

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


Classes

OpsworksStackCustomCookbooksSourceOutputReference

Initializers

import com.hashicorp.cdktf.providers.aws.opsworks_stack.OpsworksStackCustomCookbooksSourceOutputReference;

new OpsworksStackCustomCookbooksSourceOutputReference(IInterpolatingParent terraformResource, java.lang.String terraformAttribute);
Name Type Description
terraformResource com.hashicorp.cdktf.IInterpolatingParent The parent resource.
terraformAttribute java.lang.String The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: com.hashicorp.cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: java.lang.String

The attribute on the parent resource this class is referencing.


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 java.lang.String computeFqn()
getAnyMapAttribute
public java.util.Map<java.lang.String, java.lang.Object> getAnyMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanAttribute
public IResolvable getBooleanAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanMapAttribute
public java.util.Map<java.lang.String, java.lang.Boolean> getBooleanMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getListAttribute
public java.util.List<java.lang.String> getListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberAttribute
public java.lang.Number getNumberAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberListAttribute
public java.util.List<java.lang.Number> getNumberListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberMapAttribute
public java.util.Map<java.lang.String, java.lang.Number> getNumberMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringAttribute
public java.lang.String getStringAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringMapAttribute
public java.util.Map<java.lang.String, java.lang.String> getStringMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

interpolationForAttribute
public IResolvable interpolationForAttribute(java.lang.String property)
propertyRequired
  • Type: java.lang.String

resolve
public java.lang.Object resolve(IResolveContext _context)

Produce the Token's value at resolution time.

_contextRequired
  • Type: com.hashicorp.cdktf.IResolveContext

toString
public java.lang.String toString()

Return a string representation of this resolvable object.

Returns a reversible string representation.

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

Properties

Name Type Description
creationStack java.util.List<java.lang.String> The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn java.lang.String No description.
passwordInput java.lang.String No description.
revisionInput java.lang.String No description.
sshKeyInput java.lang.String No description.
typeInput java.lang.String No description.
urlInput java.lang.String No description.
usernameInput java.lang.String No description.
password java.lang.String No description.
revision java.lang.String No description.
sshKey java.lang.String No description.
type java.lang.String No description.
url java.lang.String No description.
username java.lang.String No description.
internalValue OpsworksStackCustomCookbooksSource No description.

creationStackRequired
public java.util.List<java.lang.String> getCreationStack();
  • Type: java.util.List<java.lang.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 java.lang.String getFqn();
  • Type: java.lang.String

passwordInputOptional
public java.lang.String getPasswordInput();
  • Type: java.lang.String

revisionInputOptional
public java.lang.String getRevisionInput();
  • Type: java.lang.String

sshKeyInputOptional
public java.lang.String getSshKeyInput();
  • Type: java.lang.String

typeInputOptional
public java.lang.String getTypeInput();
  • Type: java.lang.String

urlInputOptional
public java.lang.String getUrlInput();
  • Type: java.lang.String

usernameInputOptional
public java.lang.String getUsernameInput();
  • Type: java.lang.String

passwordRequired
public java.lang.String getPassword();
  • Type: java.lang.String

revisionRequired
public java.lang.String getRevision();
  • Type: java.lang.String

sshKeyRequired
public java.lang.String getSshKey();
  • Type: java.lang.String

typeRequired
public java.lang.String getType();
  • Type: java.lang.String

urlRequired
public java.lang.String getUrl();
  • Type: java.lang.String

usernameRequired
public java.lang.String getUsername();
  • Type: java.lang.String

internalValueOptional
public OpsworksStackCustomCookbooksSource getInternalValue();

OpsworksStackTimeoutsOutputReference

Initializers

import com.hashicorp.cdktf.providers.aws.opsworks_stack.OpsworksStackTimeoutsOutputReference;

new OpsworksStackTimeoutsOutputReference(IInterpolatingParent terraformResource, java.lang.String terraformAttribute);
Name Type Description
terraformResource com.hashicorp.cdktf.IInterpolatingParent The parent resource.
terraformAttribute java.lang.String The attribute on the parent resource this class is referencing.

terraformResourceRequired
  • Type: com.hashicorp.cdktf.IInterpolatingParent

The parent resource.


terraformAttributeRequired
  • Type: java.lang.String

The attribute on the parent resource this class is referencing.


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.
resetCreate No description.

computeFqn
public java.lang.String computeFqn()
getAnyMapAttribute
public java.util.Map<java.lang.String, java.lang.Object> getAnyMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanAttribute
public IResolvable getBooleanAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getBooleanMapAttribute
public java.util.Map<java.lang.String, java.lang.Boolean> getBooleanMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getListAttribute
public java.util.List<java.lang.String> getListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberAttribute
public java.lang.Number getNumberAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberListAttribute
public java.util.List<java.lang.Number> getNumberListAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getNumberMapAttribute
public java.util.Map<java.lang.String, java.lang.Number> getNumberMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringAttribute
public java.lang.String getStringAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

getStringMapAttribute
public java.util.Map<java.lang.String, java.lang.String> getStringMapAttribute(java.lang.String terraformAttribute)
terraformAttributeRequired
  • Type: java.lang.String

interpolationForAttribute
public IResolvable interpolationForAttribute(java.lang.String property)
propertyRequired
  • Type: java.lang.String

resolve
public java.lang.Object resolve(IResolveContext _context)

Produce the Token's value at resolution time.

_contextRequired
  • Type: com.hashicorp.cdktf.IResolveContext

toString
public java.lang.String toString()

Return a string representation of this resolvable object.

Returns a reversible string representation.

resetCreate
public void resetCreate()

Properties

Name Type Description
creationStack java.util.List<java.lang.String> The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqn java.lang.String No description.
createInput java.lang.String No description.
create java.lang.String No description.
internalValue com.hashicorp.cdktf.IResolvable OR OpsworksStackTimeouts No description.

creationStackRequired
public java.util.List<java.lang.String> getCreationStack();
  • Type: java.util.List<java.lang.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 java.lang.String getFqn();
  • Type: java.lang.String

createInputOptional
public java.lang.String getCreateInput();
  • Type: java.lang.String

createRequired
public java.lang.String getCreate();
  • Type: java.lang.String

internalValueOptional
public java.lang.Object getInternalValue();