Interface ICfnInfrastructureConfigurationProps
Properties for defining a CfnInfrastructureConfiguration
.
Namespace: Amazon.CDK.AWS.ImageBuilder
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnInfrastructureConfigurationProps
Syntax (vb)
Public Interface ICfnInfrastructureConfigurationProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ImageBuilder;
var cfnInfrastructureConfigurationProps = new CfnInfrastructureConfigurationProps {
InstanceProfileName = "instanceProfileName",
Name = "name",
// the properties below are optional
Description = "description",
InstanceMetadataOptions = new InstanceMetadataOptionsProperty {
HttpPutResponseHopLimit = 123,
HttpTokens = "httpTokens"
},
InstanceTypes = new [] { "instanceTypes" },
KeyPair = "keyPair",
Logging = new LoggingProperty {
S3Logs = new S3LogsProperty {
S3BucketName = "s3BucketName",
S3KeyPrefix = "s3KeyPrefix"
}
},
ResourceTags = new Dictionary<string, string> {
{ "resourceTagsKey", "resourceTags" }
},
SecurityGroupIds = new [] { "securityGroupIds" },
SnsTopicArn = "snsTopicArn",
SubnetId = "subnetId",
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
},
TerminateInstanceOnFailure = false
};
Synopsis
Properties
Description | The description of the infrastructure configuration. |
InstanceMetadataOptions | The instance metadata option settings for the infrastructure configuration. |
InstanceProfileName | The instance profile of the infrastructure configuration. |
InstanceTypes | The instance types of the infrastructure configuration. |
KeyPair | The Amazon EC2 key pair of the infrastructure configuration. |
Logging | The logging configuration defines where Image Builder uploads your logs. |
Name | The name of the infrastructure configuration. |
ResourceTags | The tags attached to the resource created by Image Builder. |
SecurityGroupIds | The security group IDs of the infrastructure configuration. |
SnsTopicArn | The Amazon Resource Name (ARN) of the SNS topic for the infrastructure configuration. |
SubnetId | The subnet ID of the infrastructure configuration. |
Tags | The tags of the infrastructure configuration. |
TerminateInstanceOnFailure | The terminate instance on failure configuration of the infrastructure configuration. |
Properties
Description
The description of the infrastructure configuration.
virtual string Description { get; }
Property Value
System.String
Remarks
InstanceMetadataOptions
The instance metadata option settings for the infrastructure configuration.
virtual object InstanceMetadataOptions { get; }
Property Value
System.Object
Remarks
InstanceProfileName
The instance profile of the infrastructure configuration.
string InstanceProfileName { get; }
Property Value
System.String
Remarks
InstanceTypes
The instance types of the infrastructure configuration.
virtual string[] InstanceTypes { get; }
Property Value
System.String[]
Remarks
KeyPair
The Amazon EC2 key pair of the infrastructure configuration.
virtual string KeyPair { get; }
Property Value
System.String
Remarks
Logging
The logging configuration defines where Image Builder uploads your logs.
virtual object Logging { get; }
Property Value
System.Object
Remarks
Name
The name of the infrastructure configuration.
string Name { get; }
Property Value
System.String
Remarks
ResourceTags
The tags attached to the resource created by Image Builder.
virtual object ResourceTags { get; }
Property Value
System.Object
Remarks
SecurityGroupIds
The security group IDs of the infrastructure configuration.
virtual string[] SecurityGroupIds { get; }
Property Value
System.String[]
Remarks
SnsTopicArn
The Amazon Resource Name (ARN) of the SNS topic for the infrastructure configuration.
virtual string SnsTopicArn { get; }
Property Value
System.String
Remarks
SubnetId
The subnet ID of the infrastructure configuration.
virtual string SubnetId { get; }
Property Value
System.String
Remarks
Tags
The tags of the infrastructure configuration.
virtual IDictionary<string, string> Tags { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
Remarks
TerminateInstanceOnFailure
The terminate instance on failure configuration of the infrastructure configuration.
virtual object TerminateInstanceOnFailure { get; }
Property Value
System.Object