# AWS::S3Outposts::Endpoint Resource Type Definition for AWS::S3Outposts::Endpoint ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{ "Type" : "AWS::S3Outposts::Endpoint", "Properties" : { "OutpostId" : String, "SecurityGroupId" : String, "SubnetId" : String, "AccessType" : String, "CustomerOwnedIpv4Pool" : String } }### YAML
Type: AWS::S3Outposts::Endpoint Properties: OutpostId: String SecurityGroupId: String SubnetId: String AccessType: String CustomerOwnedIpv4Pool: String## Properties #### OutpostId The id of the customer outpost on which the bucket resides. _Required_: Yes _Type_: String _Pattern_:
^(op-[a-f0-9]{17}|\d{12}|ec2)$
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
#### SecurityGroupId
The ID of the security group to use with the endpoint.
_Required_: Yes
_Type_: String
_Minimum_: 1
_Maximum_: 100
_Pattern_: ^sg-([0-9a-f]{8}|[0-9a-f]{17})$
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
#### SubnetId
The ID of the subnet in the selected VPC. The subnet must belong to the Outpost.
_Required_: Yes
_Type_: String
_Minimum_: 1
_Maximum_: 100
_Pattern_: ^subnet-([0-9a-f]{8}|[0-9a-f]{17})$
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
#### AccessType
The type of access for the on-premise network connectivity for the Outpost endpoint. To access endpoint from an on-premises network, you must specify the access type and provide the customer owned Ipv4 pool.
_Required_: No
_Type_: String
_Allowed Values_: CustomerOwnedIp
| Private
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
#### CustomerOwnedIpv4Pool
The ID of the customer-owned IPv4 pool for the Endpoint. IP addresses will be allocated from this pool for the endpoint.
_Required_: No
_Type_: String
_Pattern_: ^ipv4pool-coip-([0-9a-f]{17})$
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
## Return Values
### Ref
When you pass the logical ID of this resource to the intrinsic `Ref` function, Ref returns the Arn.
### Fn::GetAtt
The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the `Fn::GetAtt` intrinsic function, see [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html).
#### Arn
The Amazon Resource Name (ARN) of the endpoint.
#### CidrBlock
The VPC CIDR committed by this endpoint.
#### CreationTime
The date value in ISO 8601 format. The timezone is always UTC. (YYYY-MM-DDThh:mm:ssZ)
#### Id
The ID of the endpoint.
#### NetworkInterfaces
The network interfaces of the endpoint.
#### Status
Returns the Status
value.