@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:00:50.296Z") @Stability(value=Experimental) public class OriginAccessIdentity extends Resource implements IOriginAccessIdentity
| Modifier and Type | Class and Description |
|---|---|
static class |
OriginAccessIdentity.Builder
(experimental) A fluent builder for
OriginAccessIdentity. |
software.amazon.jsii.JsiiObject.InitializationModeIOriginAccessIdentity.Jsii$Default, IOriginAccessIdentity.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
OriginAccessIdentity(software.constructs.Construct scope,
String id) |
|
OriginAccessIdentity(software.constructs.Construct scope,
String id,
OriginAccessIdentityProps props) |
protected |
OriginAccessIdentity(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
OriginAccessIdentity(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
arn()
(experimental) The ARN to include in S3 bucket policy to allow CloudFront access.
|
static IOriginAccessIdentity |
fromOriginAccessIdentityName(software.constructs.Construct scope,
String id,
String originAccessIdentityName)
(experimental) Creates a OriginAccessIdentity by providing the OriginAccessIdentityName.
|
String |
getCloudFrontOriginAccessIdentityS3CanonicalUserId()
(experimental) The Amazon S3 canonical user ID for the origin access identity, used when giving the origin access identity read permission to an object in Amazon S3.
|
IPrincipal |
getGrantPrincipal()
(experimental) Derived principal value for bucket access.
|
String |
getOriginAccessIdentityName()
(experimental) The Origin Access Identity Name (physical id).
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected OriginAccessIdentity(software.amazon.jsii.JsiiObjectRef objRef)
protected OriginAccessIdentity(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public OriginAccessIdentity(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
OriginAccessIdentityProps props)
scope - This parameter is required.id - This parameter is required.props - @Stability(value=Experimental)
public OriginAccessIdentity(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - This parameter is required.id - This parameter is required.@Stability(value=Experimental) @NotNull public static IOriginAccessIdentity fromOriginAccessIdentityName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String originAccessIdentityName)
scope - This parameter is required.id - This parameter is required.originAccessIdentityName - This parameter is required.@Stability(value=Experimental) @NotNull protected String arn()
@Stability(value=Experimental) @NotNull public String getCloudFrontOriginAccessIdentityS3CanonicalUserId()
@Stability(value=Experimental) @NotNull public IPrincipal getGrantPrincipal()
getGrantPrincipal in interface IGrantable@Stability(value=Experimental) @NotNull public String getOriginAccessIdentityName()
getOriginAccessIdentityName in interface IOriginAccessIdentityCopyright © 2021. All rights reserved.