interface ScopeProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.S3Express.Mixins.CfnAccessPointPropsMixin.ScopeProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awss3express/mixins#CfnAccessPointPropsMixin_ScopeProperty |
Java | software.amazon.awscdk.mixins.preview.services.s3express.mixins.CfnAccessPointPropsMixin.ScopeProperty |
Python | aws_cdk.mixins_preview.aws_s3express.mixins.CfnAccessPointPropsMixin.ScopeProperty |
TypeScript | @aws-cdk/mixins-preview » aws_s3express » mixins » CfnAccessPointPropsMixin » ScopeProperty |
You can use the access point scope to restrict access to specific prefixes, API operations, or a combination of both.
For more information, see Manage the scope of your access points for directory buckets.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as s3express_mixins } from '@aws-cdk/mixins-preview/aws-s3express';
const scopeProperty: s3express_mixins.CfnAccessPointPropsMixin.ScopeProperty = {
permissions: ['permissions'],
prefixes: ['prefixes'],
};
Properties
| Name | Type | Description |
|---|---|---|
| permissions? | string[] | You can include one or more API operations as permissions. |
| prefixes? | string[] | You can specify any amount of prefixes, but the total length of characters of all prefixes must be less than 256 bytes in size. |
permissions?
Type:
string[]
(optional)
You can include one or more API operations as permissions.
prefixes?
Type:
string[]
(optional)
You can specify any amount of prefixes, but the total length of characters of all prefixes must be less than 256 bytes in size.

.NET
Go
Java
Python
TypeScript