Interface IInstance
- All Superinterfaces:
IConnectable
,IConstruct
,software.constructs.IConstruct
,IDependable
,IGrantable
,IResource
,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IInstance.Jsii$Default
- All Known Implementing Classes:
BastionHostLinux
,IInstance.Jsii$Proxy
,Instance
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:39.333Z")
@Stability(Stable)
public interface IInstance
extends software.amazon.jsii.JsiiSerializable, IResource, IConnectable, IGrantable
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Internal default implementation forIInstance
.static final class
A proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionThe availability zone the instance was launched in.The instance's ID.Private DNS name for this instance.Private IP for this instance.Publicly-routable DNS name for this instance.Publicly-routable IP address for this instance.Methods inherited from interface software.amazon.awscdk.services.ec2.IConnectable
getConnections
Methods inherited from interface software.amazon.awscdk.core.IConstruct
getNode
Methods inherited from interface software.amazon.awscdk.services.iam.IGrantable
getGrantPrincipal
Methods inherited from interface software.amazon.awscdk.core.IResource
applyRemovalPolicy, getEnv, getStack
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInstanceAvailabilityZone
The availability zone the instance was launched in. -
getInstanceId
The instance's ID. -
getInstancePrivateDnsName
Private DNS name for this instance. -
getInstancePrivateIp
Private IP for this instance. -
getInstancePublicDnsName
Publicly-routable DNS name for this instance.(May be an empty string if the instance does not have a public name).
-
getInstancePublicIp
Publicly-routable IP address for this instance.(May be an empty string if the instance does not have a public IP).
-