AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::S3::AccessGrant

CfnAccessGrant

L1 CloudFormation construct for AWS::S3::AccessGrant

Import

import { CfnAccessGrant } from 'aws-cdk-lib/aws-s3';

Or use the module namespace:

import * as s3 from 'aws-cdk-lib/aws-s3';
// s3.CfnAccessGrant

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Get the Amazon S3 Cheat Sheet

Everything you need to know about Amazon S3 on one page. HD quality, print-friendly.

Download Free Infographic