Class CfnResourceSharePropsMixin
Creates a resource share.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.RAM.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnResourceSharePropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnResourceSharePropsMixin Inherits Mixin Implements IMixin
Remarks
You can provide a list of the Amazon Resource Names (ARNs) for the resources that you want to share, a list of principals you want to share the resources with, and the permissions to grant those principals.
Sharing a resource makes it available for use by principals outside of the AWS account that created the resource. Sharing doesn't change any permissions or quotas that apply to the resource in the account that created it.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html
CloudformationResource: AWS::RAM::ResourceShare
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.RAM.Mixins;
var cfnResourceSharePropsMixin = new CfnResourceSharePropsMixin(new CfnResourceShareMixinProps {
AllowExternalPrincipals = false,
Name = "name",
PermissionArns = new [] { "permissionArns" },
Principals = new [] { "principals" },
ResourceArns = new [] { "resourceArns" },
Sources = new [] { "sources" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnResourceSharePropsMixin(ICfnResourceShareMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Creates a resource share. |
| Props | Creates a resource share. |
| Strategy | Creates a resource share. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnResourceSharePropsMixin(ICfnResourceShareMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::RAM::ResourceShare.
public CfnResourceSharePropsMixin(ICfnResourceShareMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnResourceShareMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
You can provide a list of the Amazon Resource Names (ARNs) for the resources that you want to share, a list of principals you want to share the resources with, and the permissions to grant those principals.
Sharing a resource makes it available for use by principals outside of the AWS account that created the resource. Sharing doesn't change any permissions or quotas that apply to the resource in the account that created it.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html
CloudformationResource: AWS::RAM::ResourceShare
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Creates a resource share.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
You can provide a list of the Amazon Resource Names (ARNs) for the resources that you want to share, a list of principals you want to share the resources with, and the permissions to grant those principals.
Sharing a resource makes it available for use by principals outside of the AWS account that created the resource. Sharing doesn't change any permissions or quotas that apply to the resource in the account that created it.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html
CloudformationResource: AWS::RAM::ResourceShare
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.RAM.Mixins;
var cfnResourceSharePropsMixin = new CfnResourceSharePropsMixin(new CfnResourceShareMixinProps {
AllowExternalPrincipals = false,
Name = "name",
PermissionArns = new [] { "permissionArns" },
Principals = new [] { "principals" },
ResourceArns = new [] { "resourceArns" },
Sources = new [] { "sources" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
Creates a resource share.
protected virtual ICfnResourceShareMixinProps Props { get; }
Property Value
Remarks
You can provide a list of the Amazon Resource Names (ARNs) for the resources that you want to share, a list of principals you want to share the resources with, and the permissions to grant those principals.
Sharing a resource makes it available for use by principals outside of the AWS account that created the resource. Sharing doesn't change any permissions or quotas that apply to the resource in the account that created it.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html
CloudformationResource: AWS::RAM::ResourceShare
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.RAM.Mixins;
var cfnResourceSharePropsMixin = new CfnResourceSharePropsMixin(new CfnResourceShareMixinProps {
AllowExternalPrincipals = false,
Name = "name",
PermissionArns = new [] { "permissionArns" },
Principals = new [] { "principals" },
ResourceArns = new [] { "resourceArns" },
Sources = new [] { "sources" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
Creates a resource share.
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
You can provide a list of the Amazon Resource Names (ARNs) for the resources that you want to share, a list of principals you want to share the resources with, and the permissions to grant those principals.
Sharing a resource makes it available for use by principals outside of the AWS account that created the resource. Sharing doesn't change any permissions or quotas that apply to the resource in the account that created it.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html
CloudformationResource: AWS::RAM::ResourceShare
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.RAM.Mixins;
var cfnResourceSharePropsMixin = new CfnResourceSharePropsMixin(new CfnResourceShareMixinProps {
AllowExternalPrincipals = false,
Name = "name",
PermissionArns = new [] { "permissionArns" },
Principals = new [] { "principals" },
ResourceArns = new [] { "resourceArns" },
Sources = new [] { "sources" },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
}, 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
Remarks
You can provide a list of the Amazon Resource Names (ARNs) for the resources that you want to share, a list of principals you want to share the resources with, and the permissions to grant those principals.
Sharing a resource makes it available for use by principals outside of the AWS account that created the resource. Sharing doesn't change any permissions or quotas that apply to the resource in the account that created it.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html
CloudformationResource: AWS::RAM::ResourceShare
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
Overrides
Remarks
You can provide a list of the Amazon Resource Names (ARNs) for the resources that you want to share, a list of principals you want to share the resources with, and the permissions to grant those principals.
Sharing a resource makes it available for use by principals outside of the AWS account that created the resource. Sharing doesn't change any permissions or quotas that apply to the resource in the account that created it.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html
CloudformationResource: AWS::RAM::ResourceShare
Mixin: true
ExampleMetadata: fixture=_generated