Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CostCategory ¶
type CostCategory struct { // Name AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-costcategory.html#cfn-ce-costcategory-name Name string `json:"Name,omitempty"` // RuleVersion AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-costcategory.html#cfn-ce-costcategory-ruleversion RuleVersion string `json:"RuleVersion,omitempty"` // Rules AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-costcategory.html#cfn-ce-costcategory-rules Rules string `json:"Rules,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` // AWSCloudFormationUpdateReplacePolicy represents a CloudFormation UpdateReplacePolicy AWSCloudFormationUpdateReplacePolicy policies.UpdateReplacePolicy `json:"-"` // AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource AWSCloudFormationDependsOn []string `json:"-"` // AWSCloudFormationMetadata stores structured data associated with this resource AWSCloudFormationMetadata map[string]interface{} `json:"-"` // AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created AWSCloudFormationCondition string `json:"-"` }
CostCategory AWS CloudFormation Resource (AWS::CE::CostCategory) See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ce-costcategory.html
func (*CostCategory) AWSCloudFormationType ¶
func (r *CostCategory) AWSCloudFormationType() string
AWSCloudFormationType returns the AWS CloudFormation resource type
func (CostCategory) MarshalJSON ¶
func (r CostCategory) 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 (*CostCategory) UnmarshalJSON ¶
func (r *CostCategory) 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.