Uses of Class
software.amazon.awscdk.services.ec2.BastionHostLinux.Builder
-
Uses of BastionHostLinux.Builder in software.amazon.awscdk.services.ec2
Modifier and TypeMethodDescriptionBastionHostLinux.Builder.availabilityZone
(String availabilityZone) In which AZ to place the instance within the VPC.BastionHostLinux.Builder.blockDevices
(List<? extends BlockDevice> blockDevices) Specifies how block devices are exposed to the instance.static BastionHostLinux.Builder
BastionHostLinux.Builder.init
(CloudFormationInit init) Apply the given CloudFormation Init configuration to the instance at startup.BastionHostLinux.Builder.initOptions
(ApplyCloudFormationInitOptions initOptions) Use the given options for applying CloudFormation Init.BastionHostLinux.Builder.instanceName
(String instanceName) The name of the instance.BastionHostLinux.Builder.instanceType
(InstanceType instanceType) Type of instance to launch.BastionHostLinux.Builder.machineImage
(IMachineImage machineImage) The machine image to use, assumed to have SSM Agent preinstalled.BastionHostLinux.Builder.requireImdsv2
(Boolean requireImdsv2) Whether IMDSv2 should be required on this instance.BastionHostLinux.Builder.securityGroup
(ISecurityGroup securityGroup) Security Group to assign to this instance.BastionHostLinux.Builder.subnetSelection
(SubnetSelection subnetSelection) Select the subnets to run the bastion host in.VPC to launch the instance in.