Class CfnResourceGateway
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.vpclattice.CfnResourceGateway
- All Implemented Interfaces:
IInspectable
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.109.0 (build c221850)",
date="2025-03-26T23:01:14.570Z")
@Stability(Stable)
public class CfnResourceGateway
extends CfnResource
implements IInspectable, ITaggableV2
A resource gateway is a point of ingress into the VPC where a resource resides.
It spans multiple Availability Zones. For your resource to be accessible from all Availability Zones, you should create your resource gateways to span as many Availability Zones as possible. A VPC can have multiple resource gateways.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.vpclattice.*; CfnResourceGateway cfnResourceGateway = CfnResourceGateway.Builder.create(this, "MyCfnResourceGateway") .ipAddressType("ipAddressType") .name("name") .securityGroupIds(List.of("securityGroupIds")) .subnetIds(List.of("subnetIds")) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .vpcIdentifier("vpcIdentifier") .build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnResourceGateway
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnResourceGateway
(software.amazon.jsii.JsiiObjectRef objRef) CfnResourceGateway
(software.constructs.Construct scope, String id) CfnResourceGateway
(software.constructs.Construct scope, String id, CfnResourceGatewayProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the resource gateway.The ID of the resource gateway.Tag Manager which manages the tags for this resource.The type of IP address used by the resource gateway.getName()
The name of the resource gateway.The IDs of the security groups applied to the resource gateway.The IDs of the VPC subnets for the resource gateway.getTags()
The tags for the resource gateway.The ID of the VPC for the resource gateway.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setIpAddressType
(String value) The type of IP address used by the resource gateway.void
The name of the resource gateway.void
setSecurityGroupIds
(List<String> value) The IDs of the security groups applied to the resource gateway.void
setSubnetIds
(List<String> value) The IDs of the VPC subnets for the resource gateway.void
The tags for the resource gateway.void
setVpcIdentifier
(String value) The ID of the VPC for the resource gateway.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnResourceGateway
protected CfnResourceGateway(software.amazon.jsii.JsiiObjectRef objRef) -
CfnResourceGateway
protected CfnResourceGateway(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnResourceGateway
@Stability(Stable) public CfnResourceGateway(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnResourceGatewayProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties.
-
CfnResourceGateway
@Stability(Stable) public CfnResourceGateway(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrArn
The Amazon Resource Name (ARN) of the resource gateway. -
getAttrId
The ID of the resource gateway. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getIpAddressType
The type of IP address used by the resource gateway. -
setIpAddressType
The type of IP address used by the resource gateway. -
getName
The name of the resource gateway. -
setName
The name of the resource gateway. -
getSecurityGroupIds
The IDs of the security groups applied to the resource gateway. -
setSecurityGroupIds
The IDs of the security groups applied to the resource gateway. -
getSubnetIds
The IDs of the VPC subnets for the resource gateway. -
setSubnetIds
The IDs of the VPC subnets for the resource gateway. -
getTags
The tags for the resource gateway. -
setTags
The tags for the resource gateway. -
getVpcIdentifier
The ID of the VPC for the resource gateway. -
setVpcIdentifier
The ID of the VPC for the resource gateway.
-