@Stability(value=Experimental) @Internal public static final class BastionHostLinuxProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BastionHostLinuxProps
BastionHostLinuxPropssoftware.amazon.jsii.JsiiObject.InitializationModeBastionHostLinuxProps.Builder, BastionHostLinuxProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(IVpc vpc,
String availabilityZone,
List<? extends BlockDevice> blockDevices,
String instanceName,
InstanceType instanceType,
IMachineImage machineImage,
ISecurityGroup securityGroup,
SubnetSelection subnetSelection)
Constructor that initializes the object based on literal property values passed by the
BastionHostLinuxProps.Builder. |
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()
(experimental) In which AZ to place the instance within the VPC.
|
List<BlockDevice> |
getBlockDevices()
(experimental) Specifies how block devices are exposed to the instance.
|
String |
getInstanceName()
(experimental) The name of the instance.
|
InstanceType |
getInstanceType()
(experimental) Type of instance to launch.
|
IMachineImage |
getMachineImage()
(experimental) The machine image to use, assumed to have SSM Agent preinstalled.
|
ISecurityGroup |
getSecurityGroup()
(experimental) Security Group to assign to this instance.
|
SubnetSelection |
getSubnetSelection()
(experimental) Select the subnets to run the bastion host in.
|
IVpc |
getVpc()
(experimental) VPC to launch the instance in.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(IVpc vpc, String availabilityZone, List<? extends BlockDevice> blockDevices, String instanceName, InstanceType instanceType, IMachineImage machineImage, ISecurityGroup securityGroup, SubnetSelection subnetSelection)
BastionHostLinuxProps.Builder.public final IVpc getVpc()
BastionHostLinuxPropsgetVpc in interface BastionHostLinuxPropspublic final String getAvailabilityZone()
BastionHostLinuxPropsDefault: - Random zone.
getAvailabilityZone in interface BastionHostLinuxPropspublic final List<BlockDevice> getBlockDevices()
BastionHostLinuxPropsEach 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
getBlockDevices in interface BastionHostLinuxPropshttps://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.htmlpublic final String getInstanceName()
BastionHostLinuxPropsDefault: 'BastionHost'
getInstanceName in interface BastionHostLinuxPropspublic final InstanceType getInstanceType()
BastionHostLinuxPropsDefault: 't3.nano'
getInstanceType in interface BastionHostLinuxPropspublic final IMachineImage getMachineImage()
BastionHostLinuxPropsDefault: - 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.
getMachineImage in interface BastionHostLinuxPropspublic final ISecurityGroup getSecurityGroup()
BastionHostLinuxPropsDefault: - create new security group with no inbound and all outbound traffic allowed
getSecurityGroup in interface BastionHostLinuxPropspublic final SubnetSelection getSubnetSelection()
BastionHostLinuxPropsSet 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
getSubnetSelection in interface BastionHostLinuxProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.