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
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnEndpoint
.static interface
The container for the network interface.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionCfnEndpoint
(Construct scope, String id, CfnEndpointProps props) Create a newAWS::S3Outposts::Endpoint
.protected
CfnEndpoint
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnEndpoint
(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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAccessType
(String value) The container for the type of connectivity used to access the Amazon S3 on Outposts endpoint.void
setCustomerOwnedIpv4Pool
(String value) The ID of the customer-owned IPv4 address pool (CoIP pool) for the endpoint.void
setOutpostId
(String value) The ID of the Outpost.void
setSecurityGroupId
(String value) The ID of the security group to use with the endpoint.void
setSubnetId
(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, validateProperties
Methods inherited from class software.amazon.awscdk.core.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
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
-
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:
inspect
in 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:
renderProperties
in 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:
getCfnProperties
in 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).Private
is 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).Private
is 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.
-