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