Header menu logo FsCDK

BucketPolicyStatements Module

Functions and values

Function or value Description

allowPrincipalFullAccess bucket principal

Full Usage: allowPrincipalFullAccess bucket principal

Parameters:
Returns: PolicyStatement

Creates a statement to allow specific principal full access

bucket : IBucket
principal : IPrincipal
Returns: PolicyStatement

allowPublicRead bucket

Full Usage: allowPublicRead bucket

Parameters:
Returns: PolicyStatement

Creates a statement to allow public read access

bucket : IBucket
Returns: PolicyStatement

denyInsecureTransport bucket

Full Usage: denyInsecureTransport bucket

Parameters:
Returns: PolicyStatement

Creates a statement to enforce HTTPS-only access

bucket : IBucket
Returns: PolicyStatement

Type something to start searching.