Class BastionHostLinuxProps.Jsii$Proxy
- All Implemented Interfaces:
BastionHostLinuxProps
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
BastionHostLinuxProps
BastionHostLinuxProps
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.BastionHostLinuxProps
BastionHostLinuxProps.Builder, BastionHostLinuxProps.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Jsii$Proxy
(BastionHostLinuxProps.Builder builder) Constructor that initializes the object based on literal property values passed by theBastionHostLinuxProps.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNode
final boolean
final String
In which AZ to place the instance within the VPC.final List<BlockDevice>
Specifies how block devices are exposed to the instance.final CloudFormationInit
getInit()
Apply the given CloudFormation Init configuration to the instance at startup.Use the given options for applying CloudFormation Init.final String
The name of the instance.final InstanceType
Type of instance to launch.final IMachineImage
The machine image to use, assumed to have SSM Agent preinstalled.final Boolean
Whether IMDSv2 should be required on this instance.final ISecurityGroup
Security Group to assign to this instance.final SubnetSelection
Select the subnets to run the bastion host in.final IVpc
getVpc()
VPC to launch the instance in.final int
hashCode()
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theBastionHostLinuxProps.Builder
.
-
-
Method Details
-
getVpc
Description copied from interface:BastionHostLinuxProps
VPC to launch the instance in.- Specified by:
getVpc
in interfaceBastionHostLinuxProps
-
getAvailabilityZone
Description copied from interface:BastionHostLinuxProps
In which AZ to place the instance within the VPC.Default: - Random zone.
- Specified by:
getAvailabilityZone
in interfaceBastionHostLinuxProps
-
getBlockDevices
Description copied from interface:BastionHostLinuxProps
Specifies how block devices are exposed to the instance. You can specify virtual devices and EBS volumes.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
- Specified by:
getBlockDevices
in interfaceBastionHostLinuxProps
- See Also:
-
getInit
Description copied from interface:BastionHostLinuxProps
Apply the given CloudFormation Init configuration to the instance at startup.Default: - no CloudFormation init
- Specified by:
getInit
in interfaceBastionHostLinuxProps
-
getInitOptions
Description copied from interface:BastionHostLinuxProps
Use the given options for applying CloudFormation Init.Describes the configsets to use and the timeout to wait
Default: - default options
- Specified by:
getInitOptions
in interfaceBastionHostLinuxProps
-
getInstanceName
Description copied from interface:BastionHostLinuxProps
The name of the instance.Default: 'BastionHost'
- Specified by:
getInstanceName
in interfaceBastionHostLinuxProps
-
getInstanceType
Description copied from interface:BastionHostLinuxProps
Type of instance to launch.Default: 't3.nano'
- Specified by:
getInstanceType
in interfaceBastionHostLinuxProps
-
getMachineImage
Description copied from interface:BastionHostLinuxProps
The machine image to use, assumed to have SSM Agent preinstalled.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.
- Specified by:
getMachineImage
in interfaceBastionHostLinuxProps
-
getRequireImdsv2
Description copied from interface:BastionHostLinuxProps
Whether IMDSv2 should be required on this instance.Default: - false
- Specified by:
getRequireImdsv2
in interfaceBastionHostLinuxProps
-
getSecurityGroup
Description copied from interface:BastionHostLinuxProps
Security Group to assign to this instance.Default: - create new security group with no inbound and all outbound traffic allowed
- Specified by:
getSecurityGroup
in interfaceBastionHostLinuxProps
-
getSubnetSelection
Description copied from interface:BastionHostLinuxProps
Select the subnets to run the bastion host in.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
- Specified by:
getSubnetSelection
in interfaceBastionHostLinuxProps
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-