Class CfnResourcePolicyMixinProps
Properties for CfnResourcePolicyPropsMixin.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.SSM
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-ssm-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.SSM;
var policy;
var cfnResourcePolicyMixinProps = new CfnResourcePolicyMixinProps {
Policy = policy,
ResourceArn = "resourceArn"
};
Synopsis
Constructors
| CfnResourcePolicyMixinProps() | Properties for CfnResourcePolicyPropsMixin. |
Properties
| Policy | A policy you want to associate with a resource. |
| ResourceArn | The Amazon Resource Name (ARN) of the resource to which you want to attach a policy. |
Constructors
CfnResourcePolicyMixinProps()
Properties for CfnResourcePolicyPropsMixin.
public CfnResourcePolicyMixinProps()
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-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.SSM;
var policy;
var cfnResourcePolicyMixinProps = new CfnResourcePolicyMixinProps {
Policy = policy,
ResourceArn = "resourceArn"
};
Properties
Policy
A policy you want to associate with a resource.
public object? Policy { get; set; }
Property Value
Remarks
ResourceArn
The Amazon Resource Name (ARN) of the resource to which you want to attach a policy.
public string? ResourceArn { get; set; }