public static final class CfnInfrastructureConfiguration.Builder
extends java.lang.Object
CfnInfrastructureConfiguration
.Modifier and Type | Method and Description |
---|---|
CfnInfrastructureConfiguration |
build() |
static CfnInfrastructureConfiguration.Builder |
create(Construct scope,
java.lang.String id) |
CfnInfrastructureConfiguration.Builder |
description(java.lang.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(java.lang.String instanceProfileName)
The instance profile of the infrastructure configuration.
|
CfnInfrastructureConfiguration.Builder |
instanceTypes(java.util.List<java.lang.String> instanceTypes)
The instance types of the infrastructure configuration.
|
CfnInfrastructureConfiguration.Builder |
keyPair(java.lang.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(java.lang.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(java.util.Map<java.lang.String,java.lang.String> resourceTags)
The tags attached to the resource created by Image Builder.
|
CfnInfrastructureConfiguration.Builder |
securityGroupIds(java.util.List<java.lang.String> securityGroupIds)
The security group IDs of the infrastructure configuration.
|
CfnInfrastructureConfiguration.Builder |
snsTopicArn(java.lang.String snsTopicArn)
The Amazon Resource Name (ARN) of the SNS topic for the infrastructure configuration.
|
CfnInfrastructureConfiguration.Builder |
subnetId(java.lang.String subnetId)
The subnet ID of the infrastructure configuration.
|
CfnInfrastructureConfiguration.Builder |
tags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags of the infrastructure configuration.
|
CfnInfrastructureConfiguration.Builder |
terminateInstanceOnFailure(java.lang.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.
|
public static CfnInfrastructureConfiguration.Builder create(Construct scope, java.lang.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
.public CfnInfrastructureConfiguration.Builder instanceProfileName(java.lang.String instanceProfileName)
instanceProfileName
- The instance profile of the infrastructure configuration. This parameter is required.this
public CfnInfrastructureConfiguration.Builder name(java.lang.String name)
name
- The name of the infrastructure configuration. This parameter is required.this
public CfnInfrastructureConfiguration.Builder description(java.lang.String description)
description
- The description of the infrastructure configuration. This parameter is required.this
public CfnInfrastructureConfiguration.Builder instanceMetadataOptions(IResolvable instanceMetadataOptions)
instanceMetadataOptions
- The instance metadata option settings for the infrastructure configuration. This parameter is required.this
public CfnInfrastructureConfiguration.Builder instanceMetadataOptions(CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty instanceMetadataOptions)
instanceMetadataOptions
- The instance metadata option settings for the infrastructure configuration. This parameter is required.this
public CfnInfrastructureConfiguration.Builder instanceTypes(java.util.List<java.lang.String> instanceTypes)
instanceTypes
- The instance types of the infrastructure configuration. This parameter is required.this
public CfnInfrastructureConfiguration.Builder keyPair(java.lang.String keyPair)
keyPair
- The Amazon EC2 key pair of the infrastructure configuration. This parameter is required.this
public CfnInfrastructureConfiguration.Builder logging(IResolvable logging)
logging
- The logging configuration defines where Image Builder uploads your logs. This parameter is required.this
public CfnInfrastructureConfiguration.Builder logging(CfnInfrastructureConfiguration.LoggingProperty logging)
logging
- The logging configuration defines where Image Builder uploads your logs. This parameter is required.this
public CfnInfrastructureConfiguration.Builder resourceTags(IResolvable resourceTags)
resourceTags
- The tags attached to the resource created by Image Builder. This parameter is required.this
public CfnInfrastructureConfiguration.Builder resourceTags(java.util.Map<java.lang.String,java.lang.String> resourceTags)
resourceTags
- The tags attached to the resource created by Image Builder. This parameter is required.this
public CfnInfrastructureConfiguration.Builder securityGroupIds(java.util.List<java.lang.String> securityGroupIds)
securityGroupIds
- The security group IDs of the infrastructure configuration. This parameter is required.this
public CfnInfrastructureConfiguration.Builder snsTopicArn(java.lang.String snsTopicArn)
snsTopicArn
- The Amazon Resource Name (ARN) of the SNS topic for the infrastructure configuration. This parameter is required.this
public CfnInfrastructureConfiguration.Builder subnetId(java.lang.String subnetId)
subnetId
- The subnet ID of the infrastructure configuration. This parameter is required.this
public CfnInfrastructureConfiguration.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
tags
- The tags of the infrastructure configuration. This parameter is required.this
public CfnInfrastructureConfiguration.Builder terminateInstanceOnFailure(java.lang.Boolean terminateInstanceOnFailure)
terminateInstanceOnFailure
- The terminate instance on failure configuration of the infrastructure configuration. This parameter is required.this
public CfnInfrastructureConfiguration.Builder terminateInstanceOnFailure(IResolvable terminateInstanceOnFailure)
terminateInstanceOnFailure
- The terminate instance on failure configuration of the infrastructure configuration. This parameter is required.this
public CfnInfrastructureConfiguration build()