@Stability(value=Stable) public static final class CfnInfrastructureConfiguration.Builder extends Object implements software.amazon.jsii.Builder<CfnInfrastructureConfiguration>
CfnInfrastructureConfiguration.| Modifier and Type | Method and Description |
|---|---|
CfnInfrastructureConfiguration |
build() |
static CfnInfrastructureConfiguration.Builder |
create(software.constructs.Construct scope,
String id) |
CfnInfrastructureConfiguration.Builder |
description(String description)
The description of the infrastructure configuration.
|
CfnInfrastructureConfiguration.Builder |
instanceMetadataOptions(CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty instanceMetadataOptions)
The instance metadata option settings for the infrastructure configuration.
|
CfnInfrastructureConfiguration.Builder |
instanceMetadataOptions(IResolvable instanceMetadataOptions)
The instance metadata option settings for the infrastructure configuration.
|
CfnInfrastructureConfiguration.Builder |
instanceProfileName(String instanceProfileName)
The instance profile of the infrastructure configuration.
|
CfnInfrastructureConfiguration.Builder |
instanceTypes(List<String> instanceTypes)
The instance types of the infrastructure configuration.
|
CfnInfrastructureConfiguration.Builder |
keyPair(String keyPair)
The Amazon EC2 key pair of the infrastructure configuration.
|
CfnInfrastructureConfiguration.Builder |
logging(CfnInfrastructureConfiguration.LoggingProperty logging)
The logging configuration defines where Image Builder uploads your logs.
|
CfnInfrastructureConfiguration.Builder |
logging(IResolvable logging)
The logging configuration defines where Image Builder uploads your logs.
|
CfnInfrastructureConfiguration.Builder |
name(String name)
The name of the infrastructure configuration.
|
CfnInfrastructureConfiguration.Builder |
resourceTags(IResolvable resourceTags)
The tags attached to the resource created by Image Builder.
|
CfnInfrastructureConfiguration.Builder |
resourceTags(Map<String,String> resourceTags)
The tags attached to the resource created by Image Builder.
|
CfnInfrastructureConfiguration.Builder |
securityGroupIds(List<String> securityGroupIds)
The security group IDs of the infrastructure configuration.
|
CfnInfrastructureConfiguration.Builder |
snsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) of the SNS topic for the infrastructure configuration.
|
CfnInfrastructureConfiguration.Builder |
subnetId(String subnetId)
The subnet ID of the infrastructure configuration.
|
CfnInfrastructureConfiguration.Builder |
tags(Map<String,String> tags)
The tags of the infrastructure configuration.
|
CfnInfrastructureConfiguration.Builder |
terminateInstanceOnFailure(Boolean terminateInstanceOnFailure)
The terminate instance on failure configuration of the infrastructure configuration.
|
CfnInfrastructureConfiguration.Builder |
terminateInstanceOnFailure(IResolvable terminateInstanceOnFailure)
The terminate instance on failure configuration of the infrastructure configuration.
|
@Stability(value=Stable) public static CfnInfrastructureConfiguration.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty.Builder.@Stability(value=Stable) public CfnInfrastructureConfiguration.Builder instanceProfileName(String instanceProfileName)
instanceProfileName - The instance profile of the infrastructure configuration. This parameter is required.this@Stability(value=Stable) public CfnInfrastructureConfiguration.Builder name(String name)
name - The name of the infrastructure configuration. This parameter is required.this@Stability(value=Stable) public CfnInfrastructureConfiguration.Builder description(String description)
description - The description of the infrastructure configuration. This parameter is required.this@Stability(value=Stable) public CfnInfrastructureConfiguration.Builder instanceMetadataOptions(CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty instanceMetadataOptions)
instanceMetadataOptions - The instance metadata option settings for the infrastructure configuration. This parameter is required.this@Stability(value=Stable) public CfnInfrastructureConfiguration.Builder instanceMetadataOptions(IResolvable instanceMetadataOptions)
instanceMetadataOptions - The instance metadata option settings for the infrastructure configuration. This parameter is required.this@Stability(value=Stable) public CfnInfrastructureConfiguration.Builder instanceTypes(List<String> instanceTypes)
instanceTypes - The instance types of the infrastructure configuration. This parameter is required.this@Stability(value=Stable) public CfnInfrastructureConfiguration.Builder keyPair(String keyPair)
keyPair - The Amazon EC2 key pair of the infrastructure configuration. This parameter is required.this@Stability(value=Stable) public CfnInfrastructureConfiguration.Builder logging(CfnInfrastructureConfiguration.LoggingProperty logging)
logging - The logging configuration defines where Image Builder uploads your logs. This parameter is required.this@Stability(value=Stable) public CfnInfrastructureConfiguration.Builder logging(IResolvable logging)
logging - The logging configuration defines where Image Builder uploads your logs. This parameter is required.this@Stability(value=Stable) public CfnInfrastructureConfiguration.Builder resourceTags(IResolvable resourceTags)
resourceTags - The tags attached to the resource created by Image Builder. This parameter is required.this@Stability(value=Stable) public CfnInfrastructureConfiguration.Builder resourceTags(Map<String,String> resourceTags)
resourceTags - The tags attached to the resource created by Image Builder. This parameter is required.this@Stability(value=Stable) public CfnInfrastructureConfiguration.Builder securityGroupIds(List<String> securityGroupIds)
securityGroupIds - The security group IDs of the infrastructure configuration. This parameter is required.this@Stability(value=Stable) public CfnInfrastructureConfiguration.Builder snsTopicArn(String snsTopicArn)
snsTopicArn - The Amazon Resource Name (ARN) of the SNS topic for the infrastructure configuration. This parameter is required.this@Stability(value=Stable) public CfnInfrastructureConfiguration.Builder subnetId(String subnetId)
subnetId - The subnet ID of the infrastructure configuration. This parameter is required.this@Stability(value=Stable) public CfnInfrastructureConfiguration.Builder tags(Map<String,String> tags)
tags - The tags of the infrastructure configuration. This parameter is required.this@Stability(value=Stable) public CfnInfrastructureConfiguration.Builder terminateInstanceOnFailure(Boolean terminateInstanceOnFailure)
terminateInstanceOnFailure - The terminate instance on failure configuration of the infrastructure configuration. This parameter is required.this@Stability(value=Stable) public CfnInfrastructureConfiguration.Builder terminateInstanceOnFailure(IResolvable terminateInstanceOnFailure)
terminateInstanceOnFailure - The terminate instance on failure configuration of the infrastructure configuration. This parameter is required.this@Stability(value=Stable) public CfnInfrastructureConfiguration build()
build in interface software.amazon.jsii.Builder<CfnInfrastructureConfiguration>Copyright © 2022. All rights reserved.