Show / Hide Table of Contents

Class CfnResourcePolicyProps

Properties for defining a CfnResourcePolicy.

Inheritance
object
CfnResourcePolicyProps
Implements
ICfnResourcePolicyProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.SSM
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnResourcePolicyProps : ICfnResourcePolicyProps
Syntax (vb)
Public Class CfnResourcePolicyProps Implements ICfnResourcePolicyProps
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.AWS.SSM;

             var policy;

             var cfnResourcePolicyProps = new CfnResourcePolicyProps {
                 Policy = policy,
                 ResourceArn = "resourceArn"
             };

Synopsis

Constructors

CfnResourcePolicyProps()

Properties for defining a CfnResourcePolicy.

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

CfnResourcePolicyProps()

Properties for defining a CfnResourcePolicy.

public CfnResourcePolicyProps()
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.AWS.SSM;

             var policy;

             var cfnResourcePolicyProps = new CfnResourcePolicyProps {
                 Policy = policy,
                 ResourceArn = "resourceArn"
             };

Properties

Policy

A policy you want to associate with a resource.

public object Policy { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-resourcepolicy.html#cfn-ssm-resourcepolicy-policy

ResourceArn

The Amazon Resource Name (ARN) of the resource to which you want to attach a policy.

public string ResourceArn { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-resourcepolicy.html#cfn-ssm-resourcepolicy-resourcearn

Implements

ICfnResourcePolicyProps
Back to top Generated by DocFX