Class CfnEndpoint
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.s3outposts.CfnEndpoint
- All Implemented Interfaces:
IInspectable,IEndpointRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:47.877Z")
@Stability(Stable)
public class CfnEndpoint
extends CfnResource
implements IInspectable, IEndpointRef
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")
.failedReason(FailedReasonProperty.builder()
.errorCode("errorCode")
.message("message")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnEndpoint.static interfaceThe failure reason, if any, for a create or delete endpoint operation.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.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.s3outposts.IEndpointRef
IEndpointRef.Jsii$Default, IEndpointRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnEndpoint(software.amazon.jsii.JsiiObjectRef objRef) CfnEndpoint(software.constructs.Construct scope, String id, CfnEndpointProps props) -
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.A reference to a Endpoint resource.The failure reason, if any, for a create or delete endpoint operation.The ID of the Outpost.The ID of the security group used for the endpoint.The ID of the subnet used for the endpoint.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.voidsetFailedReason(IResolvable value) The failure reason, if any, for a create or delete endpoint operation.voidThe failure reason, if any, for a create or delete endpoint operation.voidsetOutpostId(String value) The ID of the Outpost.voidsetSecurityGroupId(String value) The ID of the security group used for the endpoint.voidsetSubnetId(String value) The ID of the subnet used for the endpoint.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.constructs.IConstruct
getNodeMethods 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 software.constructs.Construct scope, @NotNull String id, @NotNull CfnEndpointProps 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. 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 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
-
getEndpointRef
A reference to a Endpoint resource.- Specified by:
getEndpointRefin interfaceIEndpointRef
-
getOutpostId
The ID of the Outpost. -
setOutpostId
The ID of the Outpost. -
getSecurityGroupId
The ID of the security group used for the endpoint. -
setSecurityGroupId
The ID of the security group used for the endpoint. -
getSubnetId
The ID of the subnet used for the endpoint. -
setSubnetId
The ID of the subnet used for the endpoint. -
getAccessType
The container for the type of connectivity used to access the Amazon S3 on Outposts endpoint. -
setAccessType
The container for the type of connectivity used to access the Amazon S3 on Outposts endpoint. -
getCustomerOwnedIpv4Pool
The ID of the customer-owned IPv4 address pool (CoIP pool) for the endpoint. -
setCustomerOwnedIpv4Pool
The ID of the customer-owned IPv4 address pool (CoIP pool) for the endpoint. -
getFailedReason
The failure reason, if any, for a create or delete endpoint operation.Returns union: either
IResolvableorCfnEndpoint.FailedReasonProperty -
setFailedReason
The failure reason, if any, for a create or delete endpoint operation. -
setFailedReason
The failure reason, if any, for a create or delete endpoint operation.
-