@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:18.696Z") @Stability(value=Stable) public interface CfnStackProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.opsworks.*;
Object customJson;
CfnStackProps cfnStackProps = CfnStackProps.builder()
.defaultInstanceProfileArn("defaultInstanceProfileArn")
.name("name")
.serviceRoleArn("serviceRoleArn")
// the properties below are optional
.agentVersion("agentVersion")
.attributes(Map.of(
"attributesKey", "attributes"))
.chefConfiguration(ChefConfigurationProperty.builder()
.berkshelfVersion("berkshelfVersion")
.manageBerkshelf(false)
.build())
.cloneAppIds(List.of("cloneAppIds"))
.clonePermissions(false)
.configurationManager(StackConfigurationManagerProperty.builder()
.name("name")
.version("version")
.build())
.customCookbooksSource(SourceProperty.builder()
.password("password")
.revision("revision")
.sshKey("sshKey")
.type("type")
.url("url")
.username("username")
.build())
.customJson(customJson)
.defaultAvailabilityZone("defaultAvailabilityZone")
.defaultOs("defaultOs")
.defaultRootDeviceType("defaultRootDeviceType")
.defaultSshKeyName("defaultSshKeyName")
.defaultSubnetId("defaultSubnetId")
.ecsClusterArn("ecsClusterArn")
.elasticIps(List.of(ElasticIpProperty.builder()
.ip("ip")
// the properties below are optional
.name("name")
.build()))
.hostnameTheme("hostnameTheme")
.rdsDbInstances(List.of(RdsDbInstanceProperty.builder()
.dbPassword("dbPassword")
.dbUser("dbUser")
.rdsDbInstanceArn("rdsDbInstanceArn")
.build()))
.sourceStackId("sourceStackId")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.useCustomCookbooks(false)
.useOpsworksSecurityGroups(false)
.vpcId("vpcId")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnStackProps.Builder
A builder for
CfnStackProps |
static class |
CfnStackProps.Jsii$Proxy
An implementation for
CfnStackProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnStackProps.Builder |
builder() |
default String |
getAgentVersion()
`AWS::OpsWorks::Stack.AgentVersion`.
|
default Object |
getAttributes()
`AWS::OpsWorks::Stack.Attributes`.
|
default Object |
getChefConfiguration()
`AWS::OpsWorks::Stack.ChefConfiguration`.
|
default List<String> |
getCloneAppIds()
`AWS::OpsWorks::Stack.CloneAppIds`.
|
default Object |
getClonePermissions()
`AWS::OpsWorks::Stack.ClonePermissions`.
|
default Object |
getConfigurationManager()
`AWS::OpsWorks::Stack.ConfigurationManager`.
|
default Object |
getCustomCookbooksSource()
`AWS::OpsWorks::Stack.CustomCookbooksSource`.
|
default Object |
getCustomJson()
`AWS::OpsWorks::Stack.CustomJson`.
|
default String |
getDefaultAvailabilityZone()
`AWS::OpsWorks::Stack.DefaultAvailabilityZone`.
|
String |
getDefaultInstanceProfileArn()
`AWS::OpsWorks::Stack.DefaultInstanceProfileArn`.
|
default String |
getDefaultOs()
`AWS::OpsWorks::Stack.DefaultOs`.
|
default String |
getDefaultRootDeviceType()
`AWS::OpsWorks::Stack.DefaultRootDeviceType`.
|
default String |
getDefaultSshKeyName()
`AWS::OpsWorks::Stack.DefaultSshKeyName`.
|
default String |
getDefaultSubnetId()
`AWS::OpsWorks::Stack.DefaultSubnetId`.
|
default String |
getEcsClusterArn()
`AWS::OpsWorks::Stack.EcsClusterArn`.
|
default Object |
getElasticIps()
`AWS::OpsWorks::Stack.ElasticIps`.
|
default String |
getHostnameTheme()
`AWS::OpsWorks::Stack.HostnameTheme`.
|
String |
getName()
`AWS::OpsWorks::Stack.Name`.
|
default Object |
getRdsDbInstances()
`AWS::OpsWorks::Stack.RdsDbInstances`.
|
String |
getServiceRoleArn()
`AWS::OpsWorks::Stack.ServiceRoleArn`.
|
default String |
getSourceStackId()
`AWS::OpsWorks::Stack.SourceStackId`.
|
default List<CfnTag> |
getTags()
`AWS::OpsWorks::Stack.Tags`.
|
default Object |
getUseCustomCookbooks()
`AWS::OpsWorks::Stack.UseCustomCookbooks`.
|
default Object |
getUseOpsworksSecurityGroups()
`AWS::OpsWorks::Stack.UseOpsworksSecurityGroups`.
|
default String |
getVpcId()
`AWS::OpsWorks::Stack.VpcId`.
|
@Stability(value=Stable) @Nullable default String getAgentVersion()
@Stability(value=Stable) @Nullable default Object getAttributes()
@Stability(value=Stable) @Nullable default Object getChefConfiguration()
@Stability(value=Stable) @Nullable default List<String> getCloneAppIds()
@Stability(value=Stable) @Nullable default Object getClonePermissions()
@Stability(value=Stable) @Nullable default Object getConfigurationManager()
@Stability(value=Stable) @Nullable default Object getCustomCookbooksSource()
@Stability(value=Stable) @Nullable default Object getCustomJson()
@Stability(value=Stable) @Nullable default String getDefaultAvailabilityZone()
@Stability(value=Stable) @NotNull String getDefaultInstanceProfileArn()
@Stability(value=Stable) @Nullable default String getDefaultOs()
@Stability(value=Stable) @Nullable default String getDefaultRootDeviceType()
@Stability(value=Stable) @Nullable default String getDefaultSshKeyName()
@Stability(value=Stable) @Nullable default String getDefaultSubnetId()
@Stability(value=Stable) @Nullable default String getEcsClusterArn()
@Stability(value=Stable) @Nullable default Object getElasticIps()
@Stability(value=Stable) @Nullable default String getHostnameTheme()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default Object getRdsDbInstances()
@Stability(value=Stable) @NotNull String getServiceRoleArn()
@Stability(value=Stable) @Nullable default String getSourceStackId()
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
@Stability(value=Stable) @Nullable default Object getUseCustomCookbooks()
@Stability(value=Stable) @Nullable default Object getUseOpsworksSecurityGroups()
@Stability(value=Stable) @Nullable default String getVpcId()
@Stability(value=Stable) static CfnStackProps.Builder builder()
CfnStackProps.Builder of CfnStackPropsCopyright © 2021. All rights reserved.