cdkmetadata

package
v5.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CDKMetadata

type CDKMetadata struct {
	Analytics string `json:"Analytics,omitempty"`

	Metadata map[string]interface{} `json:"-"`
}

CDKMetadata AWS CloudFormation Resource (AWS::CDK::Metadata)

func (*CDKMetadata) AWSCloudFormationType

func (r *CDKMetadata) AWSCloudFormationType() string

AWSCloudFormationType returns the AWS CloudFormation resource type

func (CDKMetadata) MarshalJSON

func (r CDKMetadata) 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 (*CDKMetadata) UnmarshalJSON

func (r *CDKMetadata) 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL