Class CfnEndpoint
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
AWS::S3Outposts::Endpoint.
This AWS::S3Outposts::Endpoint resource specifies an endpoint and associates it with the specified Outpost.
Amazon S3 on Outposts access points simplify managing data access at scale for shared datasets in S3 on Outposts. S3 on Outposts uses endpoints to connect to S3 on Outposts buckets so that you can perform actions within your virtual private cloud (VPC). For more information, see Accessing S3 on Outposts using VPC-only access points .
It can take up to 5 minutes for this resource to be created.
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.s3outposts.*;
CfnEndpoint cfnEndpoint = CfnEndpoint.Builder.create(this, "MyCfnEndpoint")
.outpostId("outpostId")
.securityGroupId("securityGroupId")
.subnetId("subnetId")
// the properties below are optional
.accessType("accessType")
.customerOwnedIpv4Pool("customerOwnedIpv4Pool")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnEndpoint.static interfaceThe container for the network interface.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnEndpoint(Construct scope, String id, CfnEndpointProps props) Create a newAWS::S3Outposts::Endpoint.protectedCfnEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnEndpoint(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe container for the type of connectivity used to access the Amazon S3 on Outposts endpoint.The ARN of the endpoint.The VPC CIDR block committed by this endpoint.The time the endpoint was created.The ID of the endpoint.The network interface of the endpoint.The status of the endpoint.The ID of the customer-owned IPv4 address pool (CoIP pool) for the endpoint.The ID of the Outpost.The ID of the security group to use with the endpoint.The ID of the subnet.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAccessType(String value) The container for the type of connectivity used to access the Amazon S3 on Outposts endpoint.voidsetCustomerOwnedIpv4Pool(String value) The ID of the customer-owned IPv4 address pool (CoIP pool) for the endpoint.voidsetOutpostId(String value) The ID of the Outpost.voidsetSecurityGroupId(String value) The ID of the security group to use with the endpoint.voidsetSubnetId(String value) The ID of the subnet.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods 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
-
CfnEndpoint
protected CfnEndpoint(software.amazon.jsii.JsiiObjectRef objRef) -
CfnEndpoint
protected CfnEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnEndpoint
@Stability(Stable) public CfnEndpoint(@NotNull Construct scope, @NotNull String id, @NotNull CfnEndpointProps props) Create a newAWS::S3Outposts::Endpoint.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
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 ARN of the endpoint. -
getAttrCidrBlock
The VPC CIDR block committed by this endpoint. -
getAttrCreationTime
The time the endpoint was created. -
getAttrId
The ID of the endpoint. -
getAttrNetworkInterfaces
The network interface of the endpoint. -
getAttrStatus
The status of the endpoint. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getOutpostId
The ID of the Outpost. -
setOutpostId
The ID of the Outpost. -
getSecurityGroupId
The ID of the security group to use with the endpoint. -
setSecurityGroupId
The ID of the security group to use with the endpoint. -
getSubnetId
The ID of the subnet. -
setSubnetId
The ID of the subnet. -
getAccessType
The container for the type of connectivity used to access the Amazon S3 on Outposts endpoint.To use the Amazon VPC , choose
Private. To use the endpoint with an on-premises network, chooseCustomerOwnedIp. If you chooseCustomerOwnedIp, you must also provide the customer-owned IP address pool (CoIP pool).Privateis the default access type value. -
setAccessType
The container for the type of connectivity used to access the Amazon S3 on Outposts endpoint.To use the Amazon VPC , choose
Private. To use the endpoint with an on-premises network, chooseCustomerOwnedIp. If you chooseCustomerOwnedIp, you must also provide the customer-owned IP address pool (CoIP pool).Privateis the default access type value. -
getCustomerOwnedIpv4Pool
The ID of the customer-owned IPv4 address pool (CoIP pool) for the endpoint.IP addresses are allocated from this pool for the endpoint.
-
setCustomerOwnedIpv4Pool
The ID of the customer-owned IPv4 address pool (CoIP pool) for the endpoint.IP addresses are allocated from this pool for the endpoint.
-