Class CfnResourcePolicyMixinProps
Properties for CfnResourcePolicyPropsMixin.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.XRay
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnResourcePolicyMixinProps : ICfnResourcePolicyMixinProps
Syntax (vb)
Public Class CfnResourcePolicyMixinProps Implements ICfnResourcePolicyMixinProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-resourcepolicy.html
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.CfnPropertyMixins.AWS.XRay;
var cfnResourcePolicyMixinProps = new CfnResourcePolicyMixinProps {
BypassPolicyLockoutCheck = false,
PolicyDocument = "policyDocument",
PolicyName = "policyName"
};
Synopsis
Constructors
| CfnResourcePolicyMixinProps() | Properties for CfnResourcePolicyPropsMixin. |
Properties
| BypassPolicyLockoutCheck | A flag to indicate whether to bypass the resource-based policy lockout safety check. |
| PolicyDocument | The resource-based policy document, which can be up to 5kb in size. |
| PolicyName | The name of the resource-based policy. |
Constructors
CfnResourcePolicyMixinProps()
Properties for CfnResourcePolicyPropsMixin.
public CfnResourcePolicyMixinProps()
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-xray-resourcepolicy.html
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.CfnPropertyMixins.AWS.XRay;
var cfnResourcePolicyMixinProps = new CfnResourcePolicyMixinProps {
BypassPolicyLockoutCheck = false,
PolicyDocument = "policyDocument",
PolicyName = "policyName"
};
Properties
BypassPolicyLockoutCheck
A flag to indicate whether to bypass the resource-based policy lockout safety check.
public object? BypassPolicyLockoutCheck { get; set; }
Property Value
Remarks
PolicyDocument
The resource-based policy document, which can be up to 5kb in size.
public string? PolicyDocument { get; set; }
Property Value
Remarks
PolicyName
The name of the resource-based policy.
public string? PolicyName { get; set; }
Property Value
Remarks
Must be unique within a specific AWS account.