@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.826Z") @Stability(value=Stable) public interface CfnInfrastructureConfigurationProps 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.imagebuilder.*;
CfnInfrastructureConfigurationProps cfnInfrastructureConfigurationProps = CfnInfrastructureConfigurationProps.builder()
.instanceProfileName("instanceProfileName")
.name("name")
// the properties below are optional
.description("description")
.instanceMetadataOptions(InstanceMetadataOptionsProperty.builder()
.httpPutResponseHopLimit(123)
.httpTokens("httpTokens")
.build())
.instanceTypes(List.of("instanceTypes"))
.keyPair("keyPair")
.logging(LoggingProperty.builder()
.s3Logs(S3LogsProperty.builder()
.s3BucketName("s3BucketName")
.s3KeyPrefix("s3KeyPrefix")
.build())
.build())
.resourceTags(Map.of(
"resourceTagsKey", "resourceTags"))
.securityGroupIds(List.of("securityGroupIds"))
.snsTopicArn("snsTopicArn")
.subnetId("subnetId")
.tags(Map.of(
"tagsKey", "tags"))
.terminateInstanceOnFailure(false)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnInfrastructureConfigurationProps.Builder
A builder for
CfnInfrastructureConfigurationProps |
static class |
CfnInfrastructureConfigurationProps.Jsii$Proxy
An implementation for
CfnInfrastructureConfigurationProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnInfrastructureConfigurationProps.Builder |
builder() |
default String |
getDescription()
The description of the infrastructure configuration.
|
default Object |
getInstanceMetadataOptions()
The instance metadata option settings for the infrastructure configuration.
|
String |
getInstanceProfileName()
The instance profile of the infrastructure configuration.
|
default List<String> |
getInstanceTypes()
The instance types of the infrastructure configuration.
|
default String |
getKeyPair()
The Amazon EC2 key pair of the infrastructure configuration.
|
default Object |
getLogging()
The logging configuration defines where Image Builder uploads your logs.
|
String |
getName()
The name of the infrastructure configuration.
|
default Object |
getResourceTags()
The tags attached to the resource created by Image Builder.
|
default List<String> |
getSecurityGroupIds()
The security group IDs of the infrastructure configuration.
|
default String |
getSnsTopicArn()
The Amazon Resource Name (ARN) of the SNS topic for the infrastructure configuration.
|
default String |
getSubnetId()
The subnet ID of the infrastructure configuration.
|
default Map<String,String> |
getTags()
The tags of the infrastructure configuration.
|
default Object |
getTerminateInstanceOnFailure()
The terminate instance on failure configuration of the infrastructure configuration.
|
@Stability(value=Stable) @NotNull String getInstanceProfileName()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default Object getInstanceMetadataOptions()
@Stability(value=Stable) @Nullable default List<String> getInstanceTypes()
@Stability(value=Stable) @Nullable default String getKeyPair()
@Stability(value=Stable) @Nullable default Object getLogging()
@Stability(value=Stable) @Nullable default Object getResourceTags()
@Stability(value=Stable) @Nullable default List<String> getSecurityGroupIds()
@Stability(value=Stable) @Nullable default String getSnsTopicArn()
@Stability(value=Stable) @Nullable default String getSubnetId()
@Stability(value=Stable) @Nullable default Map<String,String> getTags()
@Stability(value=Stable) @Nullable default Object getTerminateInstanceOnFailure()
@Stability(value=Stable) static CfnInfrastructureConfigurationProps.Builder builder()
Copyright © 2022. All rights reserved.