@Stability(value=Stable) @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(BastionHostLinuxProps.Builder builder)
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()
In which AZ to place the instance within the VPC.
|
List<BlockDevice> |
getBlockDevices()
Specifies how block devices are exposed to the instance.
|
CloudFormationInit |
getInit()
Apply the given CloudFormation Init configuration to the instance at startup.
|
ApplyCloudFormationInitOptions |
getInitOptions()
Use the given options for applying CloudFormation Init.
|
String |
getInstanceName()
The name of the instance.
|
InstanceType |
getInstanceType()
Type of instance to launch.
|
IMachineImage |
getMachineImage()
The machine image to use, assumed to have SSM Agent preinstalled.
|
Boolean |
getRequireImdsv2()
Whether IMDSv2 should be required on this instance.
|
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, 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(BastionHostLinuxProps.Builder builder)
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 BastionHostLinuxPropspublic final CloudFormationInit getInit()
BastionHostLinuxPropsDefault: - no CloudFormation init
getInit in interface BastionHostLinuxPropspublic final ApplyCloudFormationInitOptions getInitOptions()
BastionHostLinuxPropsDescribes the configsets to use and the timeout to wait
Default: - default options
getInitOptions in interface BastionHostLinuxPropspublic 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 Boolean getRequireImdsv2()
BastionHostLinuxPropsDefault: - false
getRequireImdsv2 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 © 2022. All rights reserved.