Skip to content

Commit

Permalink
Update generated code (awslabs#296)
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas De Loof <[email protected]>
  • Loading branch information
ndeloof authored Aug 14, 2020
1 parent 2e639c2 commit 1c47f16
Show file tree
Hide file tree
Showing 181 changed files with 19,393 additions and 2,159 deletions.
251 changes: 251 additions & 0 deletions cloudformation/all.go

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions cloudformation/amazonmq/aws-amazonmq-broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ import (
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html
type Broker struct {

// AuthenticationStrategy AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-authenticationstrategy
AuthenticationStrategy string `json:"AuthenticationStrategy,omitempty"`

// AutoMinorVersionUpgrade AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-autominorversionupgrade
Expand Down Expand Up @@ -52,6 +57,16 @@ type Broker struct {
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-hostinstancetype
HostInstanceType string `json:"HostInstanceType,omitempty"`

// LdapMetadata AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-ldapmetadata
LdapMetadata *Broker_LdapMetadata `json:"LdapMetadata,omitempty"`

// LdapServerMetadata AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-ldapservermetadata
LdapServerMetadata *Broker_LdapServerMetadata `json:"LdapServerMetadata,omitempty"`

// Logs AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html#cfn-amazonmq-broker-logs
Expand Down
40 changes: 40 additions & 0 deletions cloudformation/amazonmq/aws-amazonmq-broker_interbrokercred.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
package amazonmq

import (
"github.com/awslabs/goformation/v4/cloudformation/policies"
)

// Broker_InterBrokerCred AWS CloudFormation Resource (AWS::AmazonMQ::Broker.InterBrokerCred)
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-interbrokercred.html
type Broker_InterBrokerCred struct {

// Password AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-interbrokercred.html#cfn-amazonmq-broker-interbrokercred-password
Password string `json:"Password,omitempty"`

// Username AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-interbrokercred.html#cfn-amazonmq-broker-interbrokercred-username
Username string `json:"Username,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:"-"`
}

// AWSCloudFormationType returns the AWS CloudFormation resource type
func (r *Broker_InterBrokerCred) AWSCloudFormationType() string {
return "AWS::AmazonMQ::Broker.InterBrokerCred"
}
40 changes: 40 additions & 0 deletions cloudformation/amazonmq/aws-amazonmq-broker_ldapmetadata.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
package amazonmq

import (
"github.com/awslabs/goformation/v4/cloudformation/policies"
)

// Broker_LdapMetadata AWS CloudFormation Resource (AWS::AmazonMQ::Broker.LdapMetadata)
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapmetadata.html
type Broker_LdapMetadata struct {

// InterBrokerCreds AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapmetadata.html#cfn-amazonmq-broker-ldapmetadata-interbrokercreds
InterBrokerCreds []Broker_InterBrokerCred `json:"InterBrokerCreds,omitempty"`

// ServerMetadata AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapmetadata.html#cfn-amazonmq-broker-ldapmetadata-servermetadata
ServerMetadata *Broker_ServerMetadata `json:"ServerMetadata,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:"-"`
}

// AWSCloudFormationType returns the AWS CloudFormation resource type
func (r *Broker_LdapMetadata) AWSCloudFormationType() string {
return "AWS::AmazonMQ::Broker.LdapMetadata"
}
85 changes: 85 additions & 0 deletions cloudformation/amazonmq/aws-amazonmq-broker_ldapservermetadata.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
package amazonmq

import (
"github.com/awslabs/goformation/v4/cloudformation/policies"
)

// Broker_LdapServerMetadata AWS CloudFormation Resource (AWS::AmazonMQ::Broker.LdapServerMetadata)
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html
type Broker_LdapServerMetadata struct {

// Hosts AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html#cfn-amazonmq-broker-ldapservermetadata-hosts
Hosts []string `json:"Hosts,omitempty"`

// RoleBase AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html#cfn-amazonmq-broker-ldapservermetadata-rolebase
RoleBase string `json:"RoleBase,omitempty"`

// RoleName AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html#cfn-amazonmq-broker-ldapservermetadata-rolename
RoleName string `json:"RoleName,omitempty"`

// RoleSearchMatching AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html#cfn-amazonmq-broker-ldapservermetadata-rolesearchmatching
RoleSearchMatching string `json:"RoleSearchMatching,omitempty"`

// RoleSearchSubtree AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html#cfn-amazonmq-broker-ldapservermetadata-rolesearchsubtree
RoleSearchSubtree bool `json:"RoleSearchSubtree,omitempty"`

// ServiceAccountPassword AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html#cfn-amazonmq-broker-ldapservermetadata-serviceaccountpassword
ServiceAccountPassword string `json:"ServiceAccountPassword,omitempty"`

// ServiceAccountUsername AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html#cfn-amazonmq-broker-ldapservermetadata-serviceaccountusername
ServiceAccountUsername string `json:"ServiceAccountUsername,omitempty"`

// UserBase AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html#cfn-amazonmq-broker-ldapservermetadata-userbase
UserBase string `json:"UserBase,omitempty"`

// UserRoleName AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html#cfn-amazonmq-broker-ldapservermetadata-userrolename
UserRoleName string `json:"UserRoleName,omitempty"`

// UserSearchMatching AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html#cfn-amazonmq-broker-ldapservermetadata-usersearchmatching
UserSearchMatching string `json:"UserSearchMatching,omitempty"`

// UserSearchSubtree AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-ldapservermetadata.html#cfn-amazonmq-broker-ldapservermetadata-usersearchsubtree
UserSearchSubtree bool `json:"UserSearchSubtree,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:"-"`
}

// AWSCloudFormationType returns the AWS CloudFormation resource type
func (r *Broker_LdapServerMetadata) AWSCloudFormationType() string {
return "AWS::AmazonMQ::Broker.LdapServerMetadata"
}
85 changes: 85 additions & 0 deletions cloudformation/amazonmq/aws-amazonmq-broker_servermetadata.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
package amazonmq

import (
"github.com/awslabs/goformation/v4/cloudformation/policies"
)

// Broker_ServerMetadata AWS CloudFormation Resource (AWS::AmazonMQ::Broker.ServerMetadata)
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-servermetadata.html
type Broker_ServerMetadata struct {

// Hosts AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-servermetadata.html#cfn-amazonmq-broker-servermetadata-hosts
Hosts []string `json:"Hosts,omitempty"`

// RoleBase AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-servermetadata.html#cfn-amazonmq-broker-servermetadata-rolebase
RoleBase string `json:"RoleBase,omitempty"`

// RoleName AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-servermetadata.html#cfn-amazonmq-broker-servermetadata-rolename
RoleName string `json:"RoleName,omitempty"`

// RoleSearchMatching AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-servermetadata.html#cfn-amazonmq-broker-servermetadata-rolesearchmatching
RoleSearchMatching string `json:"RoleSearchMatching,omitempty"`

// RoleSearchSubtree AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-servermetadata.html#cfn-amazonmq-broker-servermetadata-rolesearchsubtree
RoleSearchSubtree bool `json:"RoleSearchSubtree,omitempty"`

// ServiceAccountPassword AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-servermetadata.html#cfn-amazonmq-broker-servermetadata-serviceaccountpassword
ServiceAccountPassword string `json:"ServiceAccountPassword,omitempty"`

// ServiceAccountUsername AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-servermetadata.html#cfn-amazonmq-broker-servermetadata-serviceaccountusername
ServiceAccountUsername string `json:"ServiceAccountUsername,omitempty"`

// UserBase AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-servermetadata.html#cfn-amazonmq-broker-servermetadata-userbase
UserBase string `json:"UserBase,omitempty"`

// UserRoleName AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-servermetadata.html#cfn-amazonmq-broker-servermetadata-userrolename
UserRoleName string `json:"UserRoleName,omitempty"`

// UserSearchMatching AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-servermetadata.html#cfn-amazonmq-broker-servermetadata-usersearchmatching
UserSearchMatching string `json:"UserSearchMatching,omitempty"`

// UserSearchSubtree AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amazonmq-broker-servermetadata.html#cfn-amazonmq-broker-servermetadata-usersearchsubtree
UserSearchSubtree bool `json:"UserSearchSubtree,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:"-"`
}

// AWSCloudFormationType returns the AWS CloudFormation resource type
func (r *Broker_ServerMetadata) AWSCloudFormationType() string {
return "AWS::AmazonMQ::Broker.ServerMetadata"
}
5 changes: 5 additions & 0 deletions cloudformation/amplify/aws-amplify-app.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ type App struct {
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-description
Description string `json:"Description,omitempty"`

// EnableBranchAutoDeletion AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-enablebranchautodeletion
EnableBranchAutoDeletion bool `json:"EnableBranchAutoDeletion,omitempty"`

// EnvironmentVariables AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-app.html#cfn-amplify-app-environmentvariables
Expand Down
15 changes: 15 additions & 0 deletions cloudformation/amplify/aws-amplify-domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,26 @@ type Domain struct {
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-domain.html#cfn-amplify-domain-appid
AppId string `json:"AppId,omitempty"`

// AutoSubDomainCreationPatterns AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-domain.html#cfn-amplify-domain-autosubdomaincreationpatterns
AutoSubDomainCreationPatterns []string `json:"AutoSubDomainCreationPatterns,omitempty"`

// AutoSubDomainIAMRole AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-domain.html#cfn-amplify-domain-autosubdomainiamrole
AutoSubDomainIAMRole string `json:"AutoSubDomainIAMRole,omitempty"`

// DomainName AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-domain.html#cfn-amplify-domain-domainname
DomainName string `json:"DomainName,omitempty"`

// EnableAutoSubDomain AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-domain.html#cfn-amplify-domain-enableautosubdomain
EnableAutoSubDomain bool `json:"EnableAutoSubDomain,omitempty"`

// SubDomainSettings AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-domain.html#cfn-amplify-domain-subdomainsettings
Expand Down
2 changes: 1 addition & 1 deletion cloudformation/apigateway/aws-apigateway-domainname.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type DomainName struct {
CertificateArn string `json:"CertificateArn,omitempty"`

// DomainName AWS CloudFormation Property
// Required: true
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html#cfn-apigateway-domainname-domainname
DomainName string `json:"DomainName,omitempty"`

Expand Down
Loading

0 comments on commit 1c47f16

Please sign in to comment.