Skip to content

Commit

Permalink
ran go generate and deleted old files
Browse files Browse the repository at this point in the history
  • Loading branch information
graham jenson committed Jan 25, 2019
1 parent fc52f6a commit 8e33bfc
Show file tree
Hide file tree
Showing 1,030 changed files with 7,782 additions and 6,139 deletions.
3,985 changes: 1,993 additions & 1,992 deletions cloudformation/all.go

Large diffs are not rendered by default.

36 changes: 0 additions & 36 deletions cloudformation/aws-cloudfront-distribution_legacycustomorigin.go

This file was deleted.

21 changes: 0 additions & 21 deletions cloudformation/aws-cloudfront-distribution_legacys3origin.go

This file was deleted.

11 changes: 0 additions & 11 deletions cloudformation/aws-ssm-patchbaseline_patchgroup.go

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package cloudformation
package resources

import (
"bytes"
"encoding/json"
"fmt"
"github.com/awslabs/goformation/cloudformation/policies"
)

// AlexaASKSkill AWS CloudFormation Resource (Alexa::ASK::Skill)
Expand All @@ -26,7 +27,7 @@ type AlexaASKSkill struct {
VendorId string `json:"VendorId,omitempty"`

// _deletionPolicy represents a CloudFormation DeletionPolicy
_deletionPolicy DeletionPolicy
_deletionPolicy policies.DeletionPolicy

// _dependsOn stores the logical ID of the resources to be created before this resource
_dependsOn []string
Expand Down Expand Up @@ -66,7 +67,7 @@ func (r *AlexaASKSkill) SetMetadata(metadata map[string]interface{}) {

// SetDeletionPolicy applies an AWS CloudFormation DeletionPolicy to this resource
// see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
func (r *AlexaASKSkill) SetDeletionPolicy(policy DeletionPolicy) {
func (r *AlexaASKSkill) SetDeletionPolicy(policy policies.DeletionPolicy) {
r._deletionPolicy = policy
}

Expand All @@ -77,9 +78,9 @@ func (r *AlexaASKSkill) MarshalJSON() ([]byte, error) {
return json.Marshal(&struct {
Type string
Properties Properties
DependsOn []string `json:"DependsOn,omitempty"`
Metadata map[string]interface{} `json:"Metadata,omitempty"`
DeletionPolicy DeletionPolicy `json:"DeletionPolicy,omitempty"`
DependsOn []string `json:"DependsOn,omitempty"`
Metadata map[string]interface{} `json:"Metadata,omitempty"`
DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"`
}{
Type: r.AWSCloudFormationType(),
Properties: (Properties)(*r),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
package cloudformation
package resources

import "github.com/awslabs/goformation/cloudformation/policies"

// AlexaASKSkill_AuthenticationConfiguration AWS CloudFormation Resource (Alexa::ASK::Skill.AuthenticationConfiguration)
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-authenticationconfiguration.html
Expand All @@ -20,7 +22,7 @@ type AlexaASKSkill_AuthenticationConfiguration struct {
RefreshToken string `json:"RefreshToken,omitempty"`

// _deletionPolicy represents a CloudFormation DeletionPolicy
_deletionPolicy DeletionPolicy
_deletionPolicy policies.DeletionPolicy

// _dependsOn stores the logical ID of the resources to be created before this resource
_dependsOn []string
Expand Down Expand Up @@ -60,6 +62,6 @@ func (r *AlexaASKSkill_AuthenticationConfiguration) SetMetadata(metadata map[str

// SetDeletionPolicy applies an AWS CloudFormation DeletionPolicy to this resource
// see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
func (r *AlexaASKSkill_AuthenticationConfiguration) SetDeletionPolicy(policy DeletionPolicy) {
func (r *AlexaASKSkill_AuthenticationConfiguration) SetDeletionPolicy(policy policies.DeletionPolicy) {
r._deletionPolicy = policy
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
package cloudformation
package resources

import "github.com/awslabs/goformation/cloudformation/policies"

// AlexaASKSkill_Overrides AWS CloudFormation Resource (Alexa::ASK::Skill.Overrides)
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-overrides.html
Expand All @@ -10,7 +12,7 @@ type AlexaASKSkill_Overrides struct {
Manifest interface{} `json:"Manifest,omitempty"`

// _deletionPolicy represents a CloudFormation DeletionPolicy
_deletionPolicy DeletionPolicy
_deletionPolicy policies.DeletionPolicy

// _dependsOn stores the logical ID of the resources to be created before this resource
_dependsOn []string
Expand Down Expand Up @@ -50,6 +52,6 @@ func (r *AlexaASKSkill_Overrides) SetMetadata(metadata map[string]interface{}) {

// SetDeletionPolicy applies an AWS CloudFormation DeletionPolicy to this resource
// see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
func (r *AlexaASKSkill_Overrides) SetDeletionPolicy(policy DeletionPolicy) {
func (r *AlexaASKSkill_Overrides) SetDeletionPolicy(policy policies.DeletionPolicy) {
r._deletionPolicy = policy
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
package cloudformation
package resources

import "github.com/awslabs/goformation/cloudformation/policies"

// AlexaASKSkill_SkillPackage AWS CloudFormation Resource (Alexa::ASK::Skill.SkillPackage)
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ask-skill-skillpackage.html
Expand Down Expand Up @@ -30,7 +32,7 @@ type AlexaASKSkill_SkillPackage struct {
S3ObjectVersion string `json:"S3ObjectVersion,omitempty"`

// _deletionPolicy represents a CloudFormation DeletionPolicy
_deletionPolicy DeletionPolicy
_deletionPolicy policies.DeletionPolicy

// _dependsOn stores the logical ID of the resources to be created before this resource
_dependsOn []string
Expand Down Expand Up @@ -70,6 +72,6 @@ func (r *AlexaASKSkill_SkillPackage) SetMetadata(metadata map[string]interface{}

// SetDeletionPolicy applies an AWS CloudFormation DeletionPolicy to this resource
// see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
func (r *AlexaASKSkill_SkillPackage) SetDeletionPolicy(policy DeletionPolicy) {
func (r *AlexaASKSkill_SkillPackage) SetDeletionPolicy(policy policies.DeletionPolicy) {
r._deletionPolicy = policy
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package cloudformation
package resources

import (
"bytes"
"encoding/json"
"fmt"
"github.com/awslabs/goformation/cloudformation/policies"
)

// AWSAmazonMQBroker AWS CloudFormation Resource (AWS::AmazonMQ::Broker)
Expand Down Expand Up @@ -76,7 +77,7 @@ type AWSAmazonMQBroker struct {
Users []AWSAmazonMQBroker_User `json:"Users,omitempty"`

// _deletionPolicy represents a CloudFormation DeletionPolicy
_deletionPolicy DeletionPolicy
_deletionPolicy policies.DeletionPolicy

// _dependsOn stores the logical ID of the resources to be created before this resource
_dependsOn []string
Expand Down Expand Up @@ -116,7 +117,7 @@ func (r *AWSAmazonMQBroker) SetMetadata(metadata map[string]interface{}) {

// SetDeletionPolicy applies an AWS CloudFormation DeletionPolicy to this resource
// see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
func (r *AWSAmazonMQBroker) SetDeletionPolicy(policy DeletionPolicy) {
func (r *AWSAmazonMQBroker) SetDeletionPolicy(policy policies.DeletionPolicy) {
r._deletionPolicy = policy
}

Expand All @@ -127,9 +128,9 @@ func (r *AWSAmazonMQBroker) MarshalJSON() ([]byte, error) {
return json.Marshal(&struct {
Type string
Properties Properties
DependsOn []string `json:"DependsOn,omitempty"`
Metadata map[string]interface{} `json:"Metadata,omitempty"`
DeletionPolicy DeletionPolicy `json:"DeletionPolicy,omitempty"`
DependsOn []string `json:"DependsOn,omitempty"`
Metadata map[string]interface{} `json:"Metadata,omitempty"`
DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"`
}{
Type: r.AWSCloudFormationType(),
Properties: (Properties)(*r),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
package cloudformation
package resources

import "github.com/awslabs/goformation/cloudformation/policies"

// AWSAmazonMQBroker_ConfigurationId AWS CloudFormation Resource (AWS::AmazonMQ::Broker.ConfigurationId)
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-configurationid.html
Expand All @@ -15,7 +17,7 @@ type AWSAmazonMQBroker_ConfigurationId struct {
Revision int `json:"Revision"`

// _deletionPolicy represents a CloudFormation DeletionPolicy
_deletionPolicy DeletionPolicy
_deletionPolicy policies.DeletionPolicy

// _dependsOn stores the logical ID of the resources to be created before this resource
_dependsOn []string
Expand Down Expand Up @@ -55,6 +57,6 @@ func (r *AWSAmazonMQBroker_ConfigurationId) SetMetadata(metadata map[string]inte

// SetDeletionPolicy applies an AWS CloudFormation DeletionPolicy to this resource
// see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
func (r *AWSAmazonMQBroker_ConfigurationId) SetDeletionPolicy(policy DeletionPolicy) {
func (r *AWSAmazonMQBroker_ConfigurationId) SetDeletionPolicy(policy policies.DeletionPolicy) {
r._deletionPolicy = policy
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
package cloudformation
package resources

import "github.com/awslabs/goformation/cloudformation/policies"

// AWSAmazonMQBroker_LogList AWS CloudFormation Resource (AWS::AmazonMQ::Broker.LogList)
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-loglist.html
Expand All @@ -15,7 +17,7 @@ type AWSAmazonMQBroker_LogList struct {
General bool `json:"General,omitempty"`

// _deletionPolicy represents a CloudFormation DeletionPolicy
_deletionPolicy DeletionPolicy
_deletionPolicy policies.DeletionPolicy

// _dependsOn stores the logical ID of the resources to be created before this resource
_dependsOn []string
Expand Down Expand Up @@ -55,6 +57,6 @@ func (r *AWSAmazonMQBroker_LogList) SetMetadata(metadata map[string]interface{})

// SetDeletionPolicy applies an AWS CloudFormation DeletionPolicy to this resource
// see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
func (r *AWSAmazonMQBroker_LogList) SetDeletionPolicy(policy DeletionPolicy) {
func (r *AWSAmazonMQBroker_LogList) SetDeletionPolicy(policy policies.DeletionPolicy) {
r._deletionPolicy = policy
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
package cloudformation
package resources

import "github.com/awslabs/goformation/cloudformation/policies"

// AWSAmazonMQBroker_MaintenanceWindow AWS CloudFormation Resource (AWS::AmazonMQ::Broker.MaintenanceWindow)
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-maintenancewindow.html
Expand All @@ -20,7 +22,7 @@ type AWSAmazonMQBroker_MaintenanceWindow struct {
TimeZone string `json:"TimeZone,omitempty"`

// _deletionPolicy represents a CloudFormation DeletionPolicy
_deletionPolicy DeletionPolicy
_deletionPolicy policies.DeletionPolicy

// _dependsOn stores the logical ID of the resources to be created before this resource
_dependsOn []string
Expand Down Expand Up @@ -60,6 +62,6 @@ func (r *AWSAmazonMQBroker_MaintenanceWindow) SetMetadata(metadata map[string]in

// SetDeletionPolicy applies an AWS CloudFormation DeletionPolicy to this resource
// see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
func (r *AWSAmazonMQBroker_MaintenanceWindow) SetDeletionPolicy(policy DeletionPolicy) {
func (r *AWSAmazonMQBroker_MaintenanceWindow) SetDeletionPolicy(policy policies.DeletionPolicy) {
r._deletionPolicy = policy
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
package cloudformation
package resources

import "github.com/awslabs/goformation/cloudformation/policies"

// AWSAmazonMQBroker_User AWS CloudFormation Resource (AWS::AmazonMQ::Broker.User)
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-user.html
Expand All @@ -25,7 +27,7 @@ type AWSAmazonMQBroker_User struct {
Username string `json:"Username,omitempty"`

// _deletionPolicy represents a CloudFormation DeletionPolicy
_deletionPolicy DeletionPolicy
_deletionPolicy policies.DeletionPolicy

// _dependsOn stores the logical ID of the resources to be created before this resource
_dependsOn []string
Expand Down Expand Up @@ -65,6 +67,6 @@ func (r *AWSAmazonMQBroker_User) SetMetadata(metadata map[string]interface{}) {

// SetDeletionPolicy applies an AWS CloudFormation DeletionPolicy to this resource
// see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
func (r *AWSAmazonMQBroker_User) SetDeletionPolicy(policy DeletionPolicy) {
func (r *AWSAmazonMQBroker_User) SetDeletionPolicy(policy policies.DeletionPolicy) {
r._deletionPolicy = policy
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package cloudformation
package resources

import (
"bytes"
"encoding/json"
"fmt"
"github.com/awslabs/goformation/cloudformation/policies"
)

// AWSAmazonMQConfiguration AWS CloudFormation Resource (AWS::AmazonMQ::Configuration)
Expand Down Expand Up @@ -36,7 +37,7 @@ type AWSAmazonMQConfiguration struct {
Name string `json:"Name,omitempty"`

// _deletionPolicy represents a CloudFormation DeletionPolicy
_deletionPolicy DeletionPolicy
_deletionPolicy policies.DeletionPolicy

// _dependsOn stores the logical ID of the resources to be created before this resource
_dependsOn []string
Expand Down Expand Up @@ -76,7 +77,7 @@ func (r *AWSAmazonMQConfiguration) SetMetadata(metadata map[string]interface{})

// SetDeletionPolicy applies an AWS CloudFormation DeletionPolicy to this resource
// see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
func (r *AWSAmazonMQConfiguration) SetDeletionPolicy(policy DeletionPolicy) {
func (r *AWSAmazonMQConfiguration) SetDeletionPolicy(policy policies.DeletionPolicy) {
r._deletionPolicy = policy
}

Expand All @@ -87,9 +88,9 @@ func (r *AWSAmazonMQConfiguration) MarshalJSON() ([]byte, error) {
return json.Marshal(&struct {
Type string
Properties Properties
DependsOn []string `json:"DependsOn,omitempty"`
Metadata map[string]interface{} `json:"Metadata,omitempty"`
DeletionPolicy DeletionPolicy `json:"DeletionPolicy,omitempty"`
DependsOn []string `json:"DependsOn,omitempty"`
Metadata map[string]interface{} `json:"Metadata,omitempty"`
DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"`
}{
Type: r.AWSCloudFormationType(),
Properties: (Properties)(*r),
Expand Down
Loading

0 comments on commit 8e33bfc

Please sign in to comment.