@Stability(value=Experimental) public static final class BastionHostLinuxProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BastionHostLinuxProps
BastionHostLinuxProps
software.amazon.jsii.JsiiObject.InitializationMode
BastionHostLinuxProps.Builder, BastionHostLinuxProps.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getAvailabilityZone()
In which AZ to place the instance within the VPC.
|
List<BlockDevice> |
getBlockDevices()
Specifies how block devices are exposed to the instance.
|
String |
getInstanceName()
The name of the instance.
|
InstanceType |
getInstanceType()
Type of instance to launch.
|
IMachineImage |
getMachineImage()
The machine image to use.
|
ISecurityGroup |
getSecurityGroup()
Security Group to assign to this instance.
|
SubnetSelection |
getSubnetSelection()
Select the subnets to run the bastion host in.
|
IVpc |
getVpc()
VPC to launch the instance in.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public IVpc getVpc()
BastionHostLinuxProps
EXPERIMENTAL
getVpc
in interface BastionHostLinuxProps
public String getAvailabilityZone()
BastionHostLinuxProps
Default: - Random zone.
EXPERIMENTAL
getAvailabilityZone
in interface BastionHostLinuxProps
public List<BlockDevice> getBlockDevices()
BastionHostLinuxProps
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
EXPERIMENTAL
getBlockDevices
in interface BastionHostLinuxProps
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html
public String getInstanceName()
BastionHostLinuxProps
Default: 'BastionHost'
EXPERIMENTAL
getInstanceName
in interface BastionHostLinuxProps
public InstanceType getInstanceType()
BastionHostLinuxProps
Default: 't3.nano'
EXPERIMENTAL
getInstanceType
in interface BastionHostLinuxProps
public IMachineImage getMachineImage()
BastionHostLinuxProps
Default: - An Amazon Linux 2 image which is kept up-to-date automatically (the instance may be replaced on every deployment).
EXPERIMENTAL
getMachineImage
in interface BastionHostLinuxProps
public ISecurityGroup getSecurityGroup()
BastionHostLinuxProps
Default: - create new security group with no inbound and all outbound traffic allowed
EXPERIMENTAL
getSecurityGroup
in interface BastionHostLinuxProps
public SubnetSelection getSubnetSelection()
BastionHostLinuxProps
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
EXPERIMENTAL
getSubnetSelection
in interface BastionHostLinuxProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson
in interface software.amazon.jsii.JsiiSerializable
Copyright © 2020. All rights reserved.