Interface CfnInfrastructureConfigurationProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInfrastructureConfigurationProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-11T15:56:00.100Z")
@Stability(Stable)
public interface CfnInfrastructureConfigurationProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnInfrastructureConfiguration
.
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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnInfrastructureConfigurationProps
static final class
An implementation forCfnInfrastructureConfigurationProps
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The description of the infrastructure configuration.default Object
The instance metadata option settings for the infrastructure configuration.The instance profile of the infrastructure configuration.The instance types of the infrastructure configuration.default String
The Amazon EC2 key pair of the infrastructure configuration.default Object
The logging configuration defines where Image Builder uploads your logs.getName()
The name of the infrastructure configuration.default Object
The tags attached to the resource created by Image Builder.The security group IDs of the infrastructure configuration.default String
The Amazon Resource Name (ARN) of the SNS topic for the infrastructure configuration.default String
The subnet ID of the infrastructure configuration.getTags()
The tags of the infrastructure configuration.default Object
The terminate instance on failure configuration of the infrastructure configuration.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInstanceProfileName
The instance profile of the infrastructure configuration.- See Also:
-
getName
The name of the infrastructure configuration.- See Also:
-
getDescription
The description of the infrastructure configuration.- See Also:
-
getInstanceMetadataOptions
The instance metadata option settings for the infrastructure configuration.- See Also:
-
getInstanceTypes
The instance types of the infrastructure configuration.- See Also:
-
getKeyPair
The Amazon EC2 key pair of the infrastructure configuration.- See Also:
-
getLogging
The logging configuration defines where Image Builder uploads your logs.- See Also:
-
getResourceTags
The tags attached to the resource created by Image Builder.- See Also:
-
getSecurityGroupIds
The security group IDs of the infrastructure configuration.- See Also:
-
getSnsTopicArn
The Amazon Resource Name (ARN) of the SNS topic for the infrastructure configuration.- See Also:
-
getSubnetId
The subnet ID of the infrastructure configuration.- See Also:
-
getTags
The tags of the infrastructure configuration.- See Also:
-
getTerminateInstanceOnFailure
The terminate instance on failure configuration of the infrastructure configuration.- See Also:
-
builder
-