Documentation ¶
Index ¶
- func CfnResourceShare_CFN_RESOURCE_TYPE_NAME() *string
- func CfnResourceShare_IsCfnElement(x interface{}) *bool
- func CfnResourceShare_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnResourceShare_IsConstruct(x interface{}) *bool
- func NewCfnResourceShare_Override(c CfnResourceShare, scope awscdk.Construct, id *string, ...)
- type CfnResourceShare
- type CfnResourceShareProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnResourceShare_CFN_RESOURCE_TYPE_NAME ¶
func CfnResourceShare_CFN_RESOURCE_TYPE_NAME() *string
func CfnResourceShare_IsCfnElement ¶
func CfnResourceShare_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.
func CfnResourceShare_IsCfnResource ¶
func CfnResourceShare_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnResourceShare_IsConstruct ¶
func CfnResourceShare_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func NewCfnResourceShare_Override ¶
func NewCfnResourceShare_Override(c CfnResourceShare, scope awscdk.Construct, id *string, props *CfnResourceShareProps)
Create a new `AWS::RAM::ResourceShare`.
Types ¶
type CfnResourceShare ¶
type CfnResourceShare interface { awscdk.CfnResource awscdk.IInspectable }
A CloudFormation `AWS::RAM::ResourceShare`.
Specifies a resource share.
TODO: EXAMPLE
func NewCfnResourceShare ¶
func NewCfnResourceShare(scope awscdk.Construct, id *string, props *CfnResourceShareProps) CfnResourceShare
Create a new `AWS::RAM::ResourceShare`.
type CfnResourceShareProps ¶
type CfnResourceShareProps struct { string `json:"name" yaml:"name"` // // A value of `true` lets you share with individual AWS accounts that are *not* in your organization. A value of `false` only has meaning if your account is a member of an AWS Organization. The default value is `true` . AllowExternalPrincipals interface{} `json:"allowExternalPrincipals" yaml:"allowExternalPrincipals"` PermissionArns *[]*string `json:"permissionArns" yaml:"permissionArns"` // // You can include the following values: // // - An AWS account ID, for example: `123456789012` // - An [Amazon Resoure Name (ARN)](https://docs.aws.amazon.com//general/latest/gr/aws-arns-and-namespaces.html) of an organization in AWS Organizations , for example: `arn:aws:organizations::123456789012:organization/o-exampleorgid` // - An ARN of an organizational unit (OU) in AWS Organizations , for example: `arn:aws:organizations::123456789012:ou/o-exampleorgid/ou-examplerootid-exampleouid123` // - An ARN of an IAM role, for example: `arn:aws:iam::123456789012:role/rolename` // - An ARN of an IAM user, for example: `arn:aws:iam::123456789012user/username` // // > Not all resource types can be shared with IAM roles and users. For more information, see [Sharing with IAM roles and users](https://docs.aws.amazon.com//ram/latest/userguide/permissions.html#permissions-rbp-supported-resource-types) in the *AWS Resource Access Manager User Guide* . Principals *[]*string `json:"principals" yaml:"principals"` ResourceArns *[]*string `json:"resourceArns" yaml:"resourceArns"` // // It doesn't attach the tags to the resources associated with the resource share. Tags *[]*awscdk.CfnTag `json:"tags" yaml:"tags"` }Name *
Properties for defining a `CfnResourceShare`.
TODO: EXAMPLE