@Generated(value="jsii-pacmak/1.21.0 (build 4262b22)", date="2021-02-19T10:08:57.849Z") @Stability(value=Experimental) public interface BastionHostLinuxProps extends software.amazon.jsii.JsiiSerializable
Modifier and Type | Interface and Description |
---|---|
static class |
BastionHostLinuxProps.Builder
A builder for
BastionHostLinuxProps |
static class |
BastionHostLinuxProps.Jsii$Proxy
An implementation for
BastionHostLinuxProps |
Modifier and Type | Method and Description |
---|---|
static BastionHostLinuxProps.Builder |
builder() |
default String |
getAvailabilityZone()
(experimental) In which AZ to place the instance within the VPC.
|
default List<BlockDevice> |
getBlockDevices()
(experimental) Specifies how block devices are exposed to the instance.
|
default String |
getInstanceName()
(experimental) The name of the instance.
|
default InstanceType |
getInstanceType()
(experimental) Type of instance to launch.
|
default IMachineImage |
getMachineImage()
(experimental) The machine image to use, assumed to have SSM Agent preinstalled.
|
default ISecurityGroup |
getSecurityGroup()
(experimental) Security Group to assign to this instance.
|
default SubnetSelection |
getSubnetSelection()
(experimental) Select the subnets to run the bastion host in.
|
IVpc |
getVpc()
(experimental) VPC to launch the instance in.
|
@Stability(value=Experimental) @NotNull IVpc getVpc()
@Stability(value=Experimental) @Nullable default String getAvailabilityZone()
Default: - Random zone.
@Stability(value=Experimental) @Nullable default List<BlockDevice> getBlockDevices()
Each instance that is launched has an associated root device volume, either an Amazon EBS volume or an instance store volume. You can use block device mappings to specify additional EBS volumes or instance store volumes to attach to an instance when it is launched.
Default: - Uses the block device mapping of the AMI
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html
@Stability(value=Experimental) @Nullable default String getInstanceName()
Default: 'BastionHost'
@Stability(value=Experimental) @Nullable default InstanceType getInstanceType()
Default: 't3.nano'
@Stability(value=Experimental) @Nullable default IMachineImage getMachineImage()
Default: - An Amazon Linux 2 image which is kept up-to-date automatically (the instance may be replaced on every deployment) and already has SSM Agent installed.
@Stability(value=Experimental) @Nullable default ISecurityGroup getSecurityGroup()
Default: - create new security group with no inbound and all outbound traffic allowed
@Stability(value=Experimental) @Nullable default SubnetSelection getSubnetSelection()
Set this to PUBLIC if you need to connect to this instance via the internet and cannot use SSM. You have to allow port 22 manually by using the connections field
Default: - private subnets of the supplied VPC
@Stability(value=Experimental) static BastionHostLinuxProps.Builder builder()
BastionHostLinuxProps.Builder
of BastionHostLinuxProps
Copyright © 2021. All rights reserved.