Class CfnResourcePolicyProps
Properties for defining a CfnResourcePolicy
.
public class CfnResourcePolicyProps : ICfnResourcePolicyProps
- Inheritance
-
CfnResourcePolicyProps
- Implements
- Inherited Members
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SSM;
var policy;
var cfnResourcePolicyProps = new CfnResourcePolicyProps {
Policy = policy,
ResourceArn = "resourceArn"
};
Remarks
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-resourcepolicy.html
ExampleMetadata: fixture=_generated
Constructors
CfnResourcePolicyProps()
public CfnResourcePolicyProps()
Properties
Policy
A policy you want to associate with a resource.
public object Policy { get; set; }
Property Value
Remarks
ResourceArn
Amazon Resource Name (ARN) of the resource to which you want to attach a policy.
public string ResourceArn { get; set; }