AccessGrantReference

class aws_cdk.aws_s3.AccessGrantReference(*, access_grant_arn, access_grant_id)

Bases: object

A reference to a AccessGrant resource.

Parameters:
  • access_grant_arn (str) – The ARN of the AccessGrant resource.

  • access_grant_id (str) – The AccessGrantId of the AccessGrant resource.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_s3 as s3

access_grant_reference = s3.AccessGrantReference(
    access_grant_arn="accessGrantArn",
    access_grant_id="accessGrantId"
)

Attributes

access_grant_arn

The ARN of the AccessGrant resource.

access_grant_id

The AccessGrantId of the AccessGrant resource.