Class CfnResourcePolicyProps
Properties for defining a CfnResourcePolicy
.
Inheritance
System.Object
CfnResourcePolicyProps
Implements
Namespace: Amazon.CDK.AWS.XRay
Assembly: Amazon.CDK.AWS.XRay.dll
Syntax (csharp)
public class CfnResourcePolicyProps : Object, ICfnResourcePolicyProps
Syntax (vb)
Public Class CfnResourcePolicyProps
Inherits Object
Implements ICfnResourcePolicyProps
Remarks
Link: 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.AWS.XRay;
var cfnResourcePolicyProps = new CfnResourcePolicyProps {
PolicyDocument = "policyDocument",
PolicyName = "policyName",
// the properties below are optional
BypassPolicyLockoutCheck = false
};
Synopsis
Constructors
CfnResourcePolicyProps() |
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
CfnResourcePolicyProps()
public CfnResourcePolicyProps()
Properties
BypassPolicyLockoutCheck
A flag to indicate whether to bypass the resource-based policy lockout safety check.
public object BypassPolicyLockoutCheck { get; set; }
Property Value
System.Object
Remarks
PolicyDocument
The resource-based policy document, which can be up to 5kb in size.
public string PolicyDocument { get; set; }
Property Value
System.String
Remarks
PolicyName
The name of the resource-based policy.
public string PolicyName { get; set; }
Property Value
System.String
Remarks
Must be unique within a specific AWS account.