| Package | Description |
|---|---|
| software.amazon.awscdk.services.ec2 |
Amazon EC2 Construct Library
|
| Modifier and Type | Method and Description |
|---|---|
Instance.Builder |
Instance.Builder.allowAllOutbound(Boolean allowAllOutbound)
(experimental) Whether the instance could initiate connections to anywhere by default.
|
Instance.Builder |
Instance.Builder.availabilityZone(String availabilityZone)
(experimental) In which AZ to place the instance within the VPC.
|
Instance.Builder |
Instance.Builder.blockDevices(List<? extends BlockDevice> blockDevices)
(experimental) Specifies how block devices are exposed to the instance.
|
static Instance.Builder |
Instance.Builder.create(software.constructs.Construct scope,
String id) |
Instance.Builder |
Instance.Builder.init(CloudFormationInit init)
(experimental) Apply the given CloudFormation Init configuration to the instance at startup.
|
Instance.Builder |
Instance.Builder.initOptions(ApplyCloudFormationInitOptions initOptions)
(experimental) Use the given options for applying CloudFormation Init.
|
Instance.Builder |
Instance.Builder.instanceName(String instanceName)
(experimental) The name of the instance.
|
Instance.Builder |
Instance.Builder.instanceType(InstanceType instanceType)
(experimental) Type of instance to launch.
|
Instance.Builder |
Instance.Builder.keyName(String keyName)
(experimental) Name of SSH keypair to grant access to instance.
|
Instance.Builder |
Instance.Builder.machineImage(IMachineImage machineImage)
(experimental) AMI to launch.
|
Instance.Builder |
Instance.Builder.privateIpAddress(String privateIpAddress)
(experimental) Defines a private IP address to associate with an instance.
|
Instance.Builder |
Instance.Builder.resourceSignalTimeout(Duration resourceSignalTimeout)
(experimental) The length of time to wait for the resourceSignalCount.
|
Instance.Builder |
Instance.Builder.role(IRole role)
(experimental) An IAM role to associate with the instance profile assigned to this Auto Scaling Group.
|
Instance.Builder |
Instance.Builder.securityGroup(ISecurityGroup securityGroup)
(experimental) Security Group to assign to this instance.
|
Instance.Builder |
Instance.Builder.sourceDestCheck(Boolean sourceDestCheck)
(experimental) Specifies whether to enable an instance launched in a VPC to perform NAT.
|
Instance.Builder |
Instance.Builder.userData(UserData userData)
(experimental) Specific UserData to use.
|
Instance.Builder |
Instance.Builder.userDataCausesReplacement(Boolean userDataCausesReplacement)
(experimental) Changes to the UserData force replacement.
|
Instance.Builder |
Instance.Builder.vpc(IVpc vpc)
(experimental) VPC to launch the instance in.
|
Instance.Builder |
Instance.Builder.vpcSubnets(SubnetSelection vpcSubnets)
(experimental) Where to place the instance within the VPC.
|
Copyright © 2021. All rights reserved.