Class InfrastructureConfigurationProps.Jsii$Proxy
- All Implemented Interfaces:
InfrastructureConfigurationProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
InfrastructureConfigurationProps
InfrastructureConfigurationProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.imagebuilder.alpha.InfrastructureConfigurationProps
InfrastructureConfigurationProps.Builder, InfrastructureConfigurationProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theInfrastructureConfigurationProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal String(experimental) The description of the infrastructure configuration.final String(experimental) The availability zone to place Image Builder build and test EC2 instances.final String(experimental) The ID of the Dedicated Host on which build and test instances run.final String(experimental) The ARN of the host resource group on which build and test instances run.final Tenancy(experimental) The tenancy of the instance.final Number(experimental) The maximum number of hops that an instance metadata request can traverse to reach its destination.final HttpTokens(experimental) Indicates whether a signed token header is required for instance metadata retrieval requests.final String(experimental) The name of the infrastructure configuration.final IInstanceProfile(experimental) The instance profile to associate with the instance used to customize the AMI.final List<InstanceType> (experimental) The instance types to launch build and test EC2 instances with.final IKeyPair(experimental) The key pair used to connect to the build and test EC2 instances.(experimental) The log settings for detailed build logging.final ITopic(experimental) The SNS topic on which notifications are sent when an image build completes.(experimental) The additional tags to assign to the Amazon EC2 instance that Image Builder launches during the build process.final IRolegetRole()(experimental) An IAM role to associate with the instance profile used by Image Builder.final List<ISecurityGroup> (experimental) The security groups to associate with the instance used to customize the AMI.final SubnetSelection(experimental) Select which subnet to place the instance used to customize the AMI.getTags()(experimental) The tags to apply to the infrastructure configuration.final Boolean(experimental) Whether to terminate the EC2 instance when the build or test workflow fails.final IVpcgetVpc()(experimental) The VPC to place the instance used to customize the AMI.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theInfrastructureConfigurationProps.Builder.
-
-
Method Details
-
getDescription
Description copied from interface:InfrastructureConfigurationProps(experimental) The description of the infrastructure configuration.Default: None
- Specified by:
getDescriptionin interfaceInfrastructureConfigurationProps
-
getEc2InstanceAvailabilityZone
Description copied from interface:InfrastructureConfigurationProps(experimental) The availability zone to place Image Builder build and test EC2 instances.Default: EC2 will select a random zone
- Specified by:
getEc2InstanceAvailabilityZonein interfaceInfrastructureConfigurationProps
-
getEc2InstanceHostId
Description copied from interface:InfrastructureConfigurationProps(experimental) The ID of the Dedicated Host on which build and test instances run.This only applies if the instance tenancy is
host. This cannot be used with theec2InstanceHostResourceGroupArnparameter.Default: None
- Specified by:
getEc2InstanceHostIdin interfaceInfrastructureConfigurationProps
-
getEc2InstanceHostResourceGroupArn
Description copied from interface:InfrastructureConfigurationProps(experimental) The ARN of the host resource group on which build and test instances run.This only applies if the instance tenancy is
host. This cannot be used with theec2InstanceHostIdparameter.Default: None
- Specified by:
getEc2InstanceHostResourceGroupArnin interfaceInfrastructureConfigurationProps
-
getEc2InstanceTenancy
Description copied from interface:InfrastructureConfigurationProps(experimental) The tenancy of the instance.Dedicated tenancy runs instances on single-tenant hardware, while host tenancy runs instances on a dedicated host. Shared tenancy is used by default.
Default: Tenancy.DEFAULT
- Specified by:
getEc2InstanceTenancyin interfaceInfrastructureConfigurationProps
-
getHttpPutResponseHopLimit
Description copied from interface:InfrastructureConfigurationProps(experimental) The maximum number of hops that an instance metadata request can traverse to reach its destination.By default, this is set to 2.
Default: 2
- Specified by:
getHttpPutResponseHopLimitin interfaceInfrastructureConfigurationProps
-
getHttpTokens
Description copied from interface:InfrastructureConfigurationProps(experimental) Indicates whether a signed token header is required for instance metadata retrieval requests.By default, this is set to
requiredto require IMDSv2 on build and test EC2 instances.Default: HttpTokens.REQUIRED
- Specified by:
getHttpTokensin interfaceInfrastructureConfigurationProps
-
getInfrastructureConfigurationName
Description copied from interface:InfrastructureConfigurationProps(experimental) The name of the infrastructure configuration.This name must be normalized by transforming all alphabetical characters to lowercase, and replacing all spaces and underscores with hyphens.
Default: A name is generated
- Specified by:
getInfrastructureConfigurationNamein interfaceInfrastructureConfigurationProps
-
getInstanceProfile
Description copied from interface:InfrastructureConfigurationProps(experimental) The instance profile to associate with the instance used to customize the AMI.By default, an instance profile and role will be created with minimal permissions needed to build the image, attached to the EC2 instance.
If an S3 logging bucket and key prefix is provided, an IAM inline policy will be attached to the instance profile's role, allowing s3:PutObject permissions on the bucket.
Default: An instance profile will be generated
- Specified by:
getInstanceProfilein interfaceInfrastructureConfigurationProps
-
getInstanceTypes
Description copied from interface:InfrastructureConfigurationProps(experimental) The instance types to launch build and test EC2 instances with.Default: Image Builder will choose from a default set of instance types compatible with the AMI
- Specified by:
getInstanceTypesin interfaceInfrastructureConfigurationProps
-
getKeyPair
Description copied from interface:InfrastructureConfigurationProps(experimental) The key pair used to connect to the build and test EC2 instances.The key pair can be used to log into the build or test instances for troubleshooting any failures.
Default: None
- Specified by:
getKeyPairin interfaceInfrastructureConfigurationProps
-
getLogging
Description copied from interface:InfrastructureConfigurationProps(experimental) The log settings for detailed build logging.Default: None
- Specified by:
getLoggingin interfaceInfrastructureConfigurationProps
-
getNotificationTopic
Description copied from interface:InfrastructureConfigurationProps(experimental) The SNS topic on which notifications are sent when an image build completes.Default: No notifications are sent
- Specified by:
getNotificationTopicin interfaceInfrastructureConfigurationProps
-
getResourceTags
Description copied from interface:InfrastructureConfigurationProps(experimental) The additional tags to assign to the Amazon EC2 instance that Image Builder launches during the build process.Default: None
- Specified by:
getResourceTagsin interfaceInfrastructureConfigurationProps
-
getRole
Description copied from interface:InfrastructureConfigurationProps(experimental) An IAM role to associate with the instance profile used by Image Builder.The role must be assumable by the service principal
ec2.amazonaws.com: Note: You can provide an instanceProfile or a role, but not both.Default: A role will automatically be created, it can be accessed via the `role` property
Example:
Role role = Role.Builder.create(this, "MyRole") .assumedBy(new ServicePrincipal("ec2.amazonaws.com")) .build();- Specified by:
getRolein interfaceInfrastructureConfigurationProps
-
getSecurityGroups
Description copied from interface:InfrastructureConfigurationProps(experimental) The security groups to associate with the instance used to customize the AMI.Default: The default security group for the VPC will be used
- Specified by:
getSecurityGroupsin interfaceInfrastructureConfigurationProps
-
getSubnetSelection
Description copied from interface:InfrastructureConfigurationProps(experimental) Select which subnet to place the instance used to customize the AMI.The first subnet that is selected will be used. You must specify the VPC to customize the subnet selection.
Default: The first subnet selected from the provided VPC will be used
- Specified by:
getSubnetSelectionin interfaceInfrastructureConfigurationProps
-
getTags
Description copied from interface:InfrastructureConfigurationProps(experimental) The tags to apply to the infrastructure configuration.Default: None
- Specified by:
getTagsin interfaceInfrastructureConfigurationProps
-
getTerminateInstanceOnFailure
Description copied from interface:InfrastructureConfigurationProps(experimental) Whether to terminate the EC2 instance when the build or test workflow fails.Default: true
- Specified by:
getTerminateInstanceOnFailurein interfaceInfrastructureConfigurationProps
-
getVpc
Description copied from interface:InfrastructureConfigurationProps(experimental) The VPC to place the instance used to customize the AMI.Default: The default VPC will be used
- Specified by:
getVpcin interfaceInfrastructureConfigurationProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-