Show / Hide Table of Contents

Class CfnMultiRegionAccessPointPolicy

Applies an Amazon S3 access policy to an Amazon S3 Multi-Region Access Point.

Inheritance
System.Object
CfnElement
CfnRefElement
CfnResource
CfnMultiRegionAccessPointPolicy
Implements
IInspectable
Inherited Members
CfnResource.IsCfnResource(Object)
CfnResource.AddDeletionOverride(String)
CfnResource.AddDependency(CfnResource)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(String, Object)
CfnResource.AddOverride(String, Object)
CfnResource.AddPropertyDeletionOverride(String)
CfnResource.AddPropertyOverride(String, Object)
CfnResource.ApplyRemovalPolicy(Nullable<RemovalPolicy>, IRemovalPolicyOptions)
CfnResource.GetAtt(String, Nullable<ResolutionTypeHint>)
CfnResource.GetMetadata(String)
CfnResource.ObtainDependencies()
CfnResource.ObtainResourceDependencies()
CfnResource.RemoveDependency(CfnResource)
CfnResource.ReplaceDependency(CfnResource, CfnResource)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(Object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.UpdatedProperites
CfnResource.UpdatedProperties
CfnRefElement.Ref
CfnElement.IsCfnElement(Object)
CfnElement.OverrideLogicalId(String)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Namespace: Amazon.CDK.AWS.S3
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMultiRegionAccessPointPolicy : CfnResource, IInspectable
Syntax (vb)
Public Class CfnMultiRegionAccessPointPolicy
    Inherits CfnResource
    Implements IInspectable
Remarks

It is not possible to delete an access policy for a Multi-Region Access Point from the CloudFormation template. When you attempt to delete the policy, CloudFormation updates the policy using DeletionPolicy:Retain and UpdateReplacePolicy:Retain . CloudFormation updates the policy to only allow access to the account that created the bucket.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-multiregionaccesspointpolicy.html

CloudformationResource: AWS::S3::MultiRegionAccessPointPolicy

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3;

var policy;

var cfnMultiRegionAccessPointPolicy = new CfnMultiRegionAccessPointPolicy(this, "MyCfnMultiRegionAccessPointPolicy", new CfnMultiRegionAccessPointPolicyProps {
    MrapName = "mrapName",
    Policy = policy
});

Synopsis

Constructors

CfnMultiRegionAccessPointPolicy(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

CfnMultiRegionAccessPointPolicy(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

CfnMultiRegionAccessPointPolicy(Construct, String, ICfnMultiRegionAccessPointPolicyProps)

Properties

AttrPolicyStatus

The Policy Status associated with this Multi Region Access Point.

AttrPolicyStatusIsPublic

Specifies whether the policy is public or not.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CfnProperties
MrapName

The name of the Multi-Region Access Point.

Policy

The access policy associated with the Multi-Region Access Point.

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

RenderProperties(IDictionary<String, Object>)

Constructors

CfnMultiRegionAccessPointPolicy(ByRefValue)

Used by jsii to construct an instance of this class from a Javascript-owned object reference

protected CfnMultiRegionAccessPointPolicy(ByRefValue reference)
Parameters
reference Amazon.JSII.Runtime.Deputy.ByRefValue

The Javascript-owned object reference

CfnMultiRegionAccessPointPolicy(DeputyBase.DeputyProps)

Used by jsii to construct an instance of this class from DeputyProps

protected CfnMultiRegionAccessPointPolicy(DeputyBase.DeputyProps props)
Parameters
props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps

The deputy props

CfnMultiRegionAccessPointPolicy(Construct, String, ICfnMultiRegionAccessPointPolicyProps)

public CfnMultiRegionAccessPointPolicy(Construct scope, string id, ICfnMultiRegionAccessPointPolicyProps props)
Parameters
scope Constructs.Construct

Scope in which this resource is defined.

id System.String

Construct identifier for this resource (unique in its scope).

props ICfnMultiRegionAccessPointPolicyProps

Resource properties.

Properties

AttrPolicyStatus

The Policy Status associated with this Multi Region Access Point.

public virtual IResolvable AttrPolicyStatus { get; }
Property Value

IResolvable

Remarks

CloudformationAttribute: PolicyStatus

AttrPolicyStatusIsPublic

Specifies whether the policy is public or not.

public virtual string AttrPolicyStatusIsPublic { get; }
Property Value

System.String

Remarks

CloudformationAttribute: PolicyStatus.IsPublic

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value

System.String

CfnProperties

protected override IDictionary<string, object> CfnProperties { get; }
Property Value

System.Collections.Generic.IDictionary<System.String, System.Object>

Overrides
CfnResource.CfnProperties

MrapName

The name of the Multi-Region Access Point.

public virtual string MrapName { get; set; }
Property Value

System.String

Policy

The access policy associated with the Multi-Region Access Point.

public virtual object Policy { get; set; }
Property Value

System.Object

Methods

Inspect(TreeInspector)

Examines the CloudFormation resource and discloses attributes.

public virtual void Inspect(TreeInspector inspector)
Parameters
inspector TreeInspector

tree inspector to collect and process attributes.

RenderProperties(IDictionary<String, Object>)

protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns

System.Collections.Generic.IDictionary<System.String, System.Object>

Overrides
CfnResource.RenderProperties(IDictionary<String, Object>)

Implements

IInspectable
Back to top Generated by DocFX