Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceShare ¶
type ResourceShare struct { // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html#cfn-ram-resourceshare-allowexternalprincipals AllowExternalPrincipals *bool `json:"AllowExternalPrincipals,omitempty"` // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html#cfn-ram-resourceshare-name Name string `json:"Name"` // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html#cfn-ram-resourceshare-permissionarns PermissionArns []string `json:"PermissionArns,omitempty"` // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html#cfn-ram-resourceshare-principals Principals []string `json:"Principals,omitempty"` // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html#cfn-ram-resourceshare-resourcearns ResourceArns []string `json:"ResourceArns,omitempty"` // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html#cfn-ram-resourceshare-tags Tags []tags.Tag `json:"Tags,omitempty"` AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` AWSCloudFormationUpdateReplacePolicy policies.UpdateReplacePolicy `json:"-"` AWSCloudFormationDependsOn []string `json:"-"` AWSCloudFormationMetadata map[string]interface{} `json:"-"` AWSCloudFormationCondition string `json:"-"` }
ResourceShare AWS CloudFormation Resource (AWS::RAM::ResourceShare) See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html
func (*ResourceShare) AWSCloudFormationType ¶
func (r *ResourceShare) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
func (ResourceShare) MarshalJSON ¶
func (r ResourceShare) MarshalJSON() ([]byte, error)
MarshalJSON is a custom JSON marshalling hook that embeds this object into an AWS CloudFormation JSON resource's 'Properties' field and adds a 'Type'.
func (*ResourceShare) UnmarshalJSON ¶
func (r *ResourceShare) UnmarshalJSON(b []byte) error
UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer AWS CloudFormation resource object, and just keeps the 'Properties' field.
Click to show internal directories.
Click to hide internal directories.