Show / Hide Table of Contents

Class CfnPolicyPropsMixin

Creates a policy of a specified type that you can attach to a root, an organizational unit (OU), or an individual AWS account .

Inheritance
object
Mixin
CfnPolicyPropsMixin
Implements
IMixin
Inherited Members
Mixin.IsMixin(object)
Namespace: Amazon.CDK.Mixins.Preview.AWS.Organizations.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnPolicyPropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnPolicyPropsMixin Inherits Mixin Implements IMixin
Remarks

For more information about policies and their use, see Managing AWS Organizations policies .

If the request includes tags, then the requester must have the organizations:TagResource permission.

This operation can be called only from the organization's management account or a member account designated as a delegated administrator.

Before you can create a policy of a given type, you must first <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_enable-disable.html">enable that policy type</a> in your organization.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-organizations-policy.html

CloudformationResource: AWS::Organizations::Policy

Mixin: true

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.Mixins.Preview.Mixins;
             using Amazon.CDK.Mixins.Preview.AWS.Organizations.Mixins;

             var content;

             var cfnPolicyPropsMixin = new CfnPolicyPropsMixin(new CfnPolicyMixinProps {
                 Content = content,
                 Description = "description",
                 Name = "name",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 TargetIds = new [] { "targetIds" },
                 Type = "type"
             }, new CfnPropertyMixinOptions {
                 Strategy = PropertyMergeStrategy.OVERRIDE
             });

Synopsis

Constructors

CfnPolicyPropsMixin(ICfnPolicyMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::Organizations::Policy.

Properties

CFN_PROPERTY_KEYS

Creates a policy of a specified type that you can attach to a root, an organizational unit (OU), or an individual AWS account .

Props

Creates a policy of a specified type that you can attach to a root, an organizational unit (OU), or an individual AWS account .

Strategy

Creates a policy of a specified type that you can attach to a root, an organizational unit (OU), or an individual AWS account .

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

Supports(IConstruct)

Check if this mixin supports the given construct.

Constructors

CfnPolicyPropsMixin(ICfnPolicyMixinProps, ICfnPropertyMixinOptions?)

Create a mixin to apply properties to AWS::Organizations::Policy.

public CfnPolicyPropsMixin(ICfnPolicyMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
props ICfnPolicyMixinProps

L1 properties to apply.

options ICfnPropertyMixinOptions

Mixin options.

Remarks

For more information about policies and their use, see Managing AWS Organizations policies .

If the request includes tags, then the requester must have the organizations:TagResource permission.

This operation can be called only from the organization's management account or a member account designated as a delegated administrator.

Before you can create a policy of a given type, you must first <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_enable-disable.html">enable that policy type</a> in your organization.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-organizations-policy.html

CloudformationResource: AWS::Organizations::Policy

Mixin: true

ExampleMetadata: fixture=_generated

Properties

CFN_PROPERTY_KEYS

Creates a policy of a specified type that you can attach to a root, an organizational unit (OU), or an individual AWS account .

protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value

string[]

Remarks

For more information about policies and their use, see Managing AWS Organizations policies .

If the request includes tags, then the requester must have the organizations:TagResource permission.

This operation can be called only from the organization's management account or a member account designated as a delegated administrator.

Before you can create a policy of a given type, you must first <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_enable-disable.html">enable that policy type</a> in your organization.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-organizations-policy.html

CloudformationResource: AWS::Organizations::Policy

Mixin: true

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.Mixins.Preview.Mixins;
             using Amazon.CDK.Mixins.Preview.AWS.Organizations.Mixins;

             var content;

             var cfnPolicyPropsMixin = new CfnPolicyPropsMixin(new CfnPolicyMixinProps {
                 Content = content,
                 Description = "description",
                 Name = "name",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 TargetIds = new [] { "targetIds" },
                 Type = "type"
             }, new CfnPropertyMixinOptions {
                 Strategy = PropertyMergeStrategy.OVERRIDE
             });

Props

Creates a policy of a specified type that you can attach to a root, an organizational unit (OU), or an individual AWS account .

protected virtual ICfnPolicyMixinProps Props { get; }
Property Value

ICfnPolicyMixinProps

Remarks

For more information about policies and their use, see Managing AWS Organizations policies .

If the request includes tags, then the requester must have the organizations:TagResource permission.

This operation can be called only from the organization's management account or a member account designated as a delegated administrator.

Before you can create a policy of a given type, you must first <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_enable-disable.html">enable that policy type</a> in your organization.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-organizations-policy.html

CloudformationResource: AWS::Organizations::Policy

Mixin: true

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.Mixins.Preview.Mixins;
             using Amazon.CDK.Mixins.Preview.AWS.Organizations.Mixins;

             var content;

             var cfnPolicyPropsMixin = new CfnPolicyPropsMixin(new CfnPolicyMixinProps {
                 Content = content,
                 Description = "description",
                 Name = "name",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 TargetIds = new [] { "targetIds" },
                 Type = "type"
             }, new CfnPropertyMixinOptions {
                 Strategy = PropertyMergeStrategy.OVERRIDE
             });

Strategy

Creates a policy of a specified type that you can attach to a root, an organizational unit (OU), or an individual AWS account .

protected virtual PropertyMergeStrategy Strategy { get; }
Property Value

PropertyMergeStrategy

Remarks

For more information about policies and their use, see Managing AWS Organizations policies .

If the request includes tags, then the requester must have the organizations:TagResource permission.

This operation can be called only from the organization's management account or a member account designated as a delegated administrator.

Before you can create a policy of a given type, you must first <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_enable-disable.html">enable that policy type</a> in your organization.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-organizations-policy.html

CloudformationResource: AWS::Organizations::Policy

Mixin: true

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.Mixins.Preview.Mixins;
             using Amazon.CDK.Mixins.Preview.AWS.Organizations.Mixins;

             var content;

             var cfnPolicyPropsMixin = new CfnPolicyPropsMixin(new CfnPolicyMixinProps {
                 Content = content,
                 Description = "description",
                 Name = "name",
                 Tags = new [] { new CfnTag {
                     Key = "key",
                     Value = "value"
                 } },
                 TargetIds = new [] { "targetIds" },
                 Type = "type"
             }, new CfnPropertyMixinOptions {
                 Strategy = PropertyMergeStrategy.OVERRIDE
             });

Methods

ApplyTo(IConstruct)

Apply the mixin properties to the construct.

public override IConstruct ApplyTo(IConstruct construct)
Parameters
construct IConstruct
Returns

IConstruct

Overrides
Mixin.ApplyTo(IConstruct)
Remarks

For more information about policies and their use, see Managing AWS Organizations policies .

If the request includes tags, then the requester must have the organizations:TagResource permission.

This operation can be called only from the organization's management account or a member account designated as a delegated administrator.

Before you can create a policy of a given type, you must first <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_enable-disable.html">enable that policy type</a> in your organization.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-organizations-policy.html

CloudformationResource: AWS::Organizations::Policy

Mixin: true

ExampleMetadata: fixture=_generated

Supports(IConstruct)

Check if this mixin supports the given construct.

public override bool Supports(IConstruct construct)
Parameters
construct IConstruct
Returns

bool

Overrides
Mixin.Supports(IConstruct)
Remarks

For more information about policies and their use, see Managing AWS Organizations policies .

If the request includes tags, then the requester must have the organizations:TagResource permission.

This operation can be called only from the organization's management account or a member account designated as a delegated administrator.

Before you can create a policy of a given type, you must first <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_enable-disable.html">enable that policy type</a> in your organization.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-organizations-policy.html

CloudformationResource: AWS::Organizations::Policy

Mixin: true

ExampleMetadata: fixture=_generated

Implements

IMixin
Back to top Generated by DocFX