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.110.0 (build 336b265)",
date="2025-04-22T23:08:22.053Z")
@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.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnResourceGateway(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnResourceGateway(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.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetIpAddressType(String value) The type of IP address used by the resource gateway.voidThe name of the resource gateway.voidsetSecurityGroupIds(List<String> value) The IDs of the security groups applied to the resource gateway.voidsetSubnetIds(List<String> value) The IDs of the VPC subnets for the resource gateway.voidThe tags for the resource gateway.voidsetVpcIdentifier(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, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
inspectin 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:
renderPropertiesin 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:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin 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.
-