Skip to content

Commit

Permalink
feat(schema): CloudFormation Updates (2020-02-13) (awslabs#266)
Browse files Browse the repository at this point in the history
Updated the following AWS CloudFormation resources:

 - AWS::WAFv2::WebACLAssociation
 - AWS::EC2::ClientVpnEndpoint
 - AWS::AppConfig::ConfigurationProfile
 - AWS::AppSync::GraphQLApi
 - AWS::AppConfig::Deployment
 - AWS::AppConfig::Environment
 - AWS::ACMPCA::Certificate
 - AWS::ACMPCA::CertificateAuthority
 - AWS::AppConfig::DeploymentStrategy
 - AWS::AppConfig::Application
 - AWS::OpsWorksCM::Server
 - AWS::ACMPCA::CertificateAuthority.RevocationConfiguration
 - AWS::AppConfig::ConfigurationProfile.Validators
 - AWS::EC2::LaunchTemplate.MetadataOptions
 - AWS::Backup::BackupPlan.BackupRuleResourceType
 - AWS::MediaLive::Channel.OutputDestination
 - AWS::Backup::BackupPlan.CopyActionResourceType
 - AWS::ACMPCA::Certificate.Validity
 - AWS::AppConfig::Environment.Monitors
 - AWS::AppConfig::Environment.Tags
 - AWS::EC2::LaunchTemplate.Placement
 - AWS::ACMPCA::CertificateAuthority.Subject
 - AWS::AppConfig::Application.Tags
 - AWS::AppConfig::Deployment.Tags
 - AWS::EC2::LaunchTemplate.LaunchTemplateElasticInferenceAccelerator
 - AWS::EC2::LaunchTemplate.LaunchTemplateData
 - AWS::MediaLive::Channel.MultiplexProgramChannelDestinationSettings
 - AWS::ACMPCA::CertificateAuthority.CrlConfiguration
 - AWS::AppConfig::ConfigurationProfile.Tags
 - AWS::AppConfig::DeploymentStrategy.Tags
  • Loading branch information
PaulMaddox authored Feb 13, 2020
1 parent dc7a1e8 commit bc75922
Show file tree
Hide file tree
Showing 35 changed files with 4,829 additions and 507 deletions.
2 changes: 1 addition & 1 deletion cloudformation/acmpca/aws-acmpca-certificate.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ type Certificate struct {
// Validity AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificate.html#cfn-acmpca-certificate-validity
Validity interface{} `json:"Validity,omitempty"`
Validity *Certificate_Validity `json:"Validity,omitempty"`

// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"`
Expand Down
37 changes: 37 additions & 0 deletions cloudformation/acmpca/aws-acmpca-certificate_validity.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
package acmpca

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

// Certificate_Validity AWS CloudFormation Resource (AWS::ACMPCA::Certificate.Validity)
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-validity.html
type Certificate_Validity struct {

// Type AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-validity.html#cfn-acmpca-certificate-validity-type
Type string `json:"Type,omitempty"`

// Value AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificate-validity.html#cfn-acmpca-certificate-validity-value
Value int `json:"Value"`

// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `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 *Certificate_Validity) AWSCloudFormationType() string {
return "AWS::ACMPCA::Certificate.Validity"
}
4 changes: 2 additions & 2 deletions cloudformation/acmpca/aws-acmpca-certificateauthority.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type CertificateAuthority struct {
// RevocationConfiguration AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificateauthority.html#cfn-acmpca-certificateauthority-revocationconfiguration
RevocationConfiguration interface{} `json:"RevocationConfiguration,omitempty"`
RevocationConfiguration *CertificateAuthority_RevocationConfiguration `json:"RevocationConfiguration,omitempty"`

// SigningAlgorithm AWS CloudFormation Property
// Required: true
Expand All @@ -31,7 +31,7 @@ type CertificateAuthority struct {
// Subject AWS CloudFormation Property
// Required: true
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-acmpca-certificateauthority.html#cfn-acmpca-certificateauthority-subject
Subject interface{} `json:"Subject,omitempty"`
Subject *CertificateAuthority_Subject `json:"Subject,omitempty"`

// Tags AWS CloudFormation Property
// Required: false
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
package acmpca

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

// CertificateAuthority_CrlConfiguration AWS CloudFormation Resource (AWS::ACMPCA::CertificateAuthority.CrlConfiguration)
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-crlconfiguration.html
type CertificateAuthority_CrlConfiguration struct {

// CustomCname AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-crlconfiguration.html#cfn-acmpca-certificateauthority-crlconfiguration-customcname
CustomCname string `json:"CustomCname,omitempty"`

// Enabled AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-crlconfiguration.html#cfn-acmpca-certificateauthority-crlconfiguration-enabled
Enabled bool `json:"Enabled,omitempty"`

// ExpirationInDays AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-crlconfiguration.html#cfn-acmpca-certificateauthority-crlconfiguration-expirationindays
ExpirationInDays int `json:"ExpirationInDays,omitempty"`

// S3BucketName AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-crlconfiguration.html#cfn-acmpca-certificateauthority-crlconfiguration-s3bucketname
S3BucketName string `json:"S3BucketName,omitempty"`

// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `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 *CertificateAuthority_CrlConfiguration) AWSCloudFormationType() string {
return "AWS::ACMPCA::CertificateAuthority.CrlConfiguration"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
package acmpca

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

// CertificateAuthority_RevocationConfiguration AWS CloudFormation Resource (AWS::ACMPCA::CertificateAuthority.RevocationConfiguration)
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-revocationconfiguration.html
type CertificateAuthority_RevocationConfiguration struct {

// CrlConfiguration AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-revocationconfiguration.html#cfn-acmpca-certificateauthority-revocationconfiguration-crlconfiguration
CrlConfiguration *CertificateAuthority_CrlConfiguration `json:"CrlConfiguration,omitempty"`

// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `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 *CertificateAuthority_RevocationConfiguration) AWSCloudFormationType() string {
return "AWS::ACMPCA::CertificateAuthority.RevocationConfiguration"
}
97 changes: 97 additions & 0 deletions cloudformation/acmpca/aws-acmpca-certificateauthority_subject.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
package acmpca

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

// CertificateAuthority_Subject AWS CloudFormation Resource (AWS::ACMPCA::CertificateAuthority.Subject)
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-subject.html
type CertificateAuthority_Subject struct {

// CommonName AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-subject.html#cfn-acmpca-certificateauthority-subject-commonname
CommonName string `json:"CommonName,omitempty"`

// Country AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-subject.html#cfn-acmpca-certificateauthority-subject-country
Country string `json:"Country,omitempty"`

// DistinguishedNameQualifier AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-subject.html#cfn-acmpca-certificateauthority-subject-distinguishednamequalifier
DistinguishedNameQualifier string `json:"DistinguishedNameQualifier,omitempty"`

// GenerationQualifier AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-subject.html#cfn-acmpca-certificateauthority-subject-generationqualifier
GenerationQualifier string `json:"GenerationQualifier,omitempty"`

// GivenName AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-subject.html#cfn-acmpca-certificateauthority-subject-givenname
GivenName string `json:"GivenName,omitempty"`

// Initials AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-subject.html#cfn-acmpca-certificateauthority-subject-initials
Initials string `json:"Initials,omitempty"`

// Locality AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-subject.html#cfn-acmpca-certificateauthority-subject-locality
Locality string `json:"Locality,omitempty"`

// Organization AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-subject.html#cfn-acmpca-certificateauthority-subject-organization
Organization string `json:"Organization,omitempty"`

// OrganizationalUnit AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-subject.html#cfn-acmpca-certificateauthority-subject-organizationalunit
OrganizationalUnit string `json:"OrganizationalUnit,omitempty"`

// Pseudonym AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-subject.html#cfn-acmpca-certificateauthority-subject-pseudonym
Pseudonym string `json:"Pseudonym,omitempty"`

// SerialNumber AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-subject.html#cfn-acmpca-certificateauthority-subject-serialnumber
SerialNumber string `json:"SerialNumber,omitempty"`

// State AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-subject.html#cfn-acmpca-certificateauthority-subject-state
State string `json:"State,omitempty"`

// Surname AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-subject.html#cfn-acmpca-certificateauthority-subject-surname
Surname string `json:"Surname,omitempty"`

// Title AWS CloudFormation Property
// Required: false
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-acmpca-certificateauthority-subject.html#cfn-acmpca-certificateauthority-subject-title
Title string `json:"Title,omitempty"`

// AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy
AWSCloudFormationDeletionPolicy policies.DeletionPolicy `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 *CertificateAuthority_Subject) AWSCloudFormationType() string {
return "AWS::ACMPCA::CertificateAuthority.Subject"
}
Loading

0 comments on commit bc75922

Please sign in to comment.