@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.839Z") @Stability(value=Stable) public class CfnEndpoint extends CfnResource implements IInspectable
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();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnEndpoint.Builder
A fluent builder for
CfnEndpoint. |
static interface |
CfnEndpoint.NetworkInterfaceProperty
The container for the network interface.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnEndpoint(software.constructs.Construct scope,
String id,
CfnEndpointProps props)
Create a new `AWS::S3Outposts::Endpoint`.
|
protected |
CfnEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnEndpoint(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessType()
The container for the type of connectivity used to access the Amazon S3 on Outposts endpoint.
|
String |
getAttrArn()
The ARN of the endpoint.
|
String |
getAttrCidrBlock()
The VPC CIDR block committed by this endpoint.
|
String |
getAttrCreationTime()
The time the endpoint was created.
|
String |
getAttrId()
The ID of the endpoint.
|
IResolvable |
getAttrNetworkInterfaces()
The network interface of the endpoint.
|
String |
getAttrStatus()
The status of the endpoint.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getCustomerOwnedIpv4Pool()
The ID of the customer-owned IPv4 address pool (CoIP pool) for the endpoint.
|
String |
getOutpostId()
The ID of the Outpost.
|
String |
getSecurityGroupId()
The ID of the security group to use with the endpoint.
|
String |
getSubnetId()
The ID of the subnet.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
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.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnEndpoint(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnEndpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnEndpoint(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnEndpointProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
@Stability(value=Stable) @NotNull public String getAttrCidrBlock()
@Stability(value=Stable) @NotNull public String getAttrCreationTime()
@Stability(value=Stable) @NotNull public String getAttrId()
@Stability(value=Stable) @NotNull public IResolvable getAttrNetworkInterfaces()
@Stability(value=Stable) @NotNull public String getAttrStatus()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getOutpostId()
@Stability(value=Stable)
public void setOutpostId(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getSecurityGroupId()
@Stability(value=Stable)
public void setSecurityGroupId(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getSubnetId()
@Stability(value=Stable)
public void setSubnetId(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getAccessType()
To use the Amazon VPC , choose Private . To use the endpoint with an on-premises network, choose CustomerOwnedIp . If you choose CustomerOwnedIp , you must also provide the customer-owned IP address pool (CoIP pool).
Privateis the default access type value.
@Stability(value=Stable)
public void setAccessType(@Nullable
String value)
To use the Amazon VPC , choose Private . To use the endpoint with an on-premises network, choose CustomerOwnedIp . If you choose CustomerOwnedIp , you must also provide the customer-owned IP address pool (CoIP pool).
Privateis the default access type value.
@Stability(value=Stable) @Nullable public String getCustomerOwnedIpv4Pool()
IP addresses are allocated from this pool for the endpoint.
@Stability(value=Stable)
public void setCustomerOwnedIpv4Pool(@Nullable
String value)
IP addresses are allocated from this pool for the endpoint.
Copyright © 2022. All rights reserved.