CmdID / aws / aws s3control
aws s3control get-access-point
Returns configuration information about the specified access point. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To retrieve access point configuration details
The following get-access-point example retrieves the configuration details for the access point named finance-ap in account 123456789012. Before running this example, replace the access point name and account number with appropriate values for your use case.
aws s3control get-access-point --account-id 123456789012 --name finance-apIdentify--account-idThe Amazon Web Services account ID for the account that owns the specified access point.--nameThe name of the access point whose configuration information you want to retrieve.Its output
{
"Name": "finance-ap",
"Bucket": "amzn-s3-demo-bucket",
"NetworkOrigin": "Internet",
"PublicAccessBlockConfiguration": {
"BlockPublicAcls": false,
"IgnorePublicAcls": false,
"BlockPublicPolicy": false,
"RestrictPublicBuckets": false
},
"CreationDate": "2020-01-01T00:00:00Z"
}For more information, see Managing Data Access with Amazon S3 Access Points in the Amazon Simple Storage Service Developer Guide.
Options
--account-idThe Amazon Web Services account ID for the account that owns the specified access point.--nameThe name of the access point whose configuration information you want to retrieve.